Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002429/0.002429, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002905/0.002905, allocations: 169.3 kB / 22.77 MB, free: 1.641 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.684/1.684, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.323/1.323, allocations: 154.6 MB / 414.2 MB, free: 0.6172 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.003e-05/4.176e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04413/0.04417, allocations: 30.89 MB / 0.5498 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02652/0.07069, allocations: 13.75 MB / 0.5632 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004192/0.07488, allocations: 190.5 kB / 0.5634 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.01111/0.08599, allocations: 3.298 MB / 0.5666 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.09608, allocations: 2.833 MB / 0.5694 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.006738/0.1028, allocations: 2.037 MB / 0.5714 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01298/0.1158, allocations: 7.809 MB / 0.579 GB, free: 5.656 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00827/0.1241, allocations: 4.635 MB / 0.5835 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01036/0.1344, allocations: 4.813 MB / 0.5882 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006811/0.1412, allocations: 3.31 MB / 0.5915 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001421/0.1427, allocations: 0.5948 MB / 0.5921 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.1464, allocations: 1.423 MB / 0.5934 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.003893/0.1503, allocations: 2.568 MB / 0.596 GB, free: 4.164 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.004952/0.1553, allocations: 2.024 MB / 0.5979 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0147/0.17, allocations: 9.689 MB / 0.6074 GB, free: 8.422 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.17, allocations: 4 kB / 0.6074 GB, free: 8.418 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.463e-06/0.17, allocations: 0 / 0.6074 GB, free: 8.418 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002753/0.1703, allocations: 0.7188 kB / 0.6074 GB, free: 8.418 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01505/0.1853, allocations: 5.892 MB / 0.6132 GB, free: 2.465 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1854, allocations: 8.031 kB / 0.6132 GB, free: 2.457 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007475/0.1928, allocations: 1.562 MB / 0.6147 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008666/0.2015, allocations: 3.036 MB / 0.6176 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/0.2019, allocations: 320.8 kB / 0.618 GB, free: 13.48 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/0.2032, allocations: 432.3 kB / 0.6184 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/0.2151, allocations: 5.31 MB / 0.6236 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001419/0.2152, allocations: 23.83 kB / 0.6236 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005461/0.2158, allocations: 184 kB / 0.6238 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009839/0.2168, allocations: 375.2 kB / 0.6241 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006323/0.2231, allocations: 1.933 MB / 0.626 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04229/0.2654, allocations: 25.7 MB / 0.6511 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.2671, allocations: 0.6611 MB / 0.6517 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.2684, allocations: 0.6278 MB / 0.6524 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.2685, allocations: 25.3 kB / 0.6524 GB, free: 8.934 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.783e-05/0.2685, allocations: 54.7 kB / 0.6524 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=130): time 4.188e-06/0.2686, allocations: 0 / 0.6524 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of matching and sorting (n=199): time 0.02339/0.2919, allocations: 7.287 MB / 0.6595 GB, free: 1.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.292, allocations: 81.34 kB / 0.6596 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/0.2956, allocations: 2.36 MB / 0.6619 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002541/0.2959, allocations: 57.7 kB / 0.662 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00239/0.2982, allocations: 2.25 MB / 0.6642 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009534/0.2992, allocations: 0.783 MB / 0.6649 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009417/0.3001, allocations: 0.4946 MB / 0.6654 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002513/0.3004, allocations: 480.8 kB / 0.6659 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.3019, allocations: 0.7073 MB / 0.6666 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/0.3044, allocations: 1.616 MB / 0.6682 GB, free: 8.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004925/0.3093, allocations: 2.518 MB / 0.6706 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.336e-05/0.3094, allocations: 15.94 kB / 0.6706 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01053/0.3199, allocations: 3.897 MB / 0.6744 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.642e-05/0.3199, allocations: 12 kB / 0.6745 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/0.32, allocations: 16 kB / 0.6745 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2546/0.5746, allocations: 1.993 MB / 0.6764 GB, free: 175 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.576, allocations: 380.1 kB / 0.6768 GB, free: 175 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02551/0.6015, allocations: 37.9 MB / 0.7138 GB, free: 144 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.6038, allocations: 135 kB / 0.7139 GB, free: 144 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/0.604, allocations: 87.94 kB / 0.714 GB, free: 144 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001315/0.6053, allocations: 464.2 kB / 0.7144 GB, free: 143.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005257/0.6058, allocations: 335.2 kB / 0.7148 GB, free: 143.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007631/0.6135, allocations: 3.366 MB / 0.7181 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.6135, allocations: 25.41 kB / 0.7181 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.661e-05/0.6135, allocations: 17.06 kB / 0.7181 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.242e-05/0.6136, allocations: 13.14 kB / 0.7181 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.6284, allocations: 8.031 MB / 0.7259 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.6284, allocations: 9.25 kB / 0.726 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008205/0.6293, allocations: 217.4 kB / 0.7262 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007404/0.6367, allocations: 1.854 MB / 0.728 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002247/0.6369, allocations: 38.78 kB / 0.728 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02688/0.6638, allocations: 37.56 MB / 0.7647 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.6638, allocations: 10.19 kB / 0.7647 GB, free: 104.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007613/0.6714, allocations: 3.474 MB / 0.7681 GB, free: 102.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/0.673, allocations: 0.4948 MB / 0.7686 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003703/0.6734, allocations: 54.09 kB / 0.7686 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.6747, allocations: 125.7 kB / 0.7687 GB, free: 102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006599/0.6754, allocations: 201.3 kB / 0.7689 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.6755, allocations: 59.81 kB / 0.769 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001673/0.6772, allocations: 1.337 MB / 0.7703 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.6772, allocations: 0 / 0.7703 GB, free: 101.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003297/0.6805, allocations: 1.056 MB / 0.7713 GB, free: 101.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002602/0.6808, allocations: 159.9 kB / 0.7715 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007649/0.6884, allocations: 5.897 MB / 0.7772 GB, free: 97.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.6884, allocations: 0 / 0.7772 GB, free: 97.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00558/0.694, allocations: 4.816 MB / 0.7819 GB, free: 93.37 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/0.6979, allocations: 0.9106 MB / 0.7828 GB, free: 93.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.7095, allocations: 7.511 MB / 0.7902 GB, free: 89.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003506/0.713, allocations: 2.336 MB / 0.7924 GB, free: 88.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001691/0.7147, allocations: 435.6 kB / 0.7929 GB, free: 88.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.715, allocations: 139.8 kB / 0.793 GB, free: 88.34 MB / 0.6355 GB Notification: Performance of SimCode: time 2.315e-06/0.715, allocations: 4 kB / 0.793 GB, free: 88.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.07958/0.7946, allocations: 61.37 MB / 0.8529 GB, free: 31.32 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.62871133396402]