Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001/0.001, allocations: 93.06 kB / 19.65 MB, free: 272 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.001026/0.001026, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9845/0.9845, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7936/0.7936, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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 179] 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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.5203 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.217e-05, allocations: 3.219 kB / 0.5203 GB, free: 2.184 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.01572/0.01574, allocations: 21.48 MB / 0.5413 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.009405/0.02515, allocations: 6.167 MB / 0.5473 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004136/0.02928, allocations: 206.5 kB / 0.5475 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004005/0.03329, allocations: 0.9236 MB / 0.5484 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.007317/0.0406, allocations: 2.039 MB / 0.5504 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005496/0.0461, allocations: 1.84 MB / 0.5522 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01304/0.05914, allocations: 9.333 MB / 0.5613 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009897/0.06904, allocations: 6.184 MB / 0.5674 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01087/0.07991, allocations: 5.743 MB / 0.573 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007593/0.08751, allocations: 4.476 MB / 0.5774 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.002316/0.08982, allocations: 0.8256 MB / 0.5782 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.0927, allocations: 0.9099 MB / 0.5791 GB, free: 5.859 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.00422/0.09692, allocations: 3.426 MB / 0.5824 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.00523/0.1021, allocations: 2.599 MB / 0.5849 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.007979/0.1101, allocations: 6.362 MB / 0.5911 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1101, allocations: 0 / 0.5911 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1101, allocations: 0 / 0.5911 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003658/0.1105, allocations: 0 / 0.5911 GB, free: 9.445 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.009833/0.1203, allocations: 6.6 MB / 0.5976 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1204, allocations: 8.031 kB / 0.5976 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/0.1241, allocations: 1.711 MB / 0.5993 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005071/0.1291, allocations: 3.495 MB / 0.6027 GB, free: 13.55 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.1294, allocations: 423.7 kB / 0.6031 GB, free: 13.14 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000662/0.13, allocations: 0.5628 MB / 0.6036 GB, free: 12.58 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009269/0.1393, allocations: 6.273 MB / 0.6098 GB, free: 5.637 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/0.1394, allocations: 27.95 kB / 0.6098 GB, free: 5.609 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004566/0.1399, allocations: 249 kB / 0.61 GB, free: 5.367 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004138/0.1403, allocations: 424.5 kB / 0.6104 GB, free: 4.953 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005208/0.1455, allocations: 2.146 MB / 0.6125 GB, free: 2.809 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02636/0.1718, allocations: 28.16 MB / 0.64 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.1739, allocations: 1.413 MB / 0.6414 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/0.1751, allocations: 0.9318 MB / 0.6423 GB, free: 3.574 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.1752, allocations: 37.94 kB / 0.6424 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.1753, allocations: 63.39 kB / 0.6424 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=209): time 5.43e-06/0.1753, allocations: 0.7188 kB / 0.6424 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of matching and sorting (n=212): time 0.01311/0.1884, allocations: 6.43 MB / 0.6487 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.1884, allocations: 77.34 kB / 0.6488 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.1902, allocations: 1.691 MB / 0.6504 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.1903, allocations: 65.7 kB / 0.6505 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.1916, allocations: 2.532 MB / 0.653 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005592/0.1922, allocations: 0.7864 MB / 0.6537 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005004/0.1927, allocations: 484 kB / 0.6542 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1928, allocations: 480.7 kB / 0.6546 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007832/0.1936, allocations: 465 kB / 0.6551 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.1949, allocations: 1.501 MB / 0.6566 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/0.1972, allocations: 2.151 MB / 0.6587 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.1973, allocations: 4 kB / 0.6587 GB, free: 1.867 MB / 0.6198 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004133/0.2014, allocations: 2.867 MB / 0.6615 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.2014, allocations: 15.98 kB / 0.6615 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/0.2014, allocations: 24 kB / 0.6615 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.2041, allocations: 1.215 MB / 0.6627 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.2051, allocations: 463.2 kB / 0.6631 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.2174, allocations: 12.4 MB / 0.6752 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.2191, allocations: 139.9 kB / 0.6754 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/0.2193, allocations: 108 kB / 0.6755 GB, free: 144 kB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.2596/0.4789, allocations: 322.9 kB / 0.6758 GB, free: 153.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/0.4795, allocations: 346.6 kB / 0.6761 GB, free: 153.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00313/0.4827, allocations: 2.241 MB / 0.6783 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.4827, allocations: 24.31 kB / 0.6783 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/0.4827, allocations: 21.8 kB / 0.6783 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.4827, allocations: 12.14 kB / 0.6784 GB, free: 153.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008788/0.4915, allocations: 6.181 MB / 0.6844 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.4915, allocations: 5.688 kB / 0.6844 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005472/0.492, allocations: 230.4 kB / 0.6846 GB, free: 152.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/0.4944, allocations: 1.049 MB / 0.6856 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.4945, allocations: 43.97 kB / 0.6857 GB, free: 152.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009535/0.504, allocations: 12.36 MB / 0.6977 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.504, allocations: 6.594 kB / 0.6978 GB, free: 145.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/0.5077, allocations: 2.547 MB / 0.7002 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008098/0.5085, allocations: 0.5129 MB / 0.7007 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.5087, allocations: 37.94 kB / 0.7008 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006255/0.5093, allocations: 114.7 kB / 0.7009 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/0.5096, allocations: 190.3 kB / 0.7011 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-05/0.5097, allocations: 61.16 kB / 0.7011 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008752/0.5106, allocations: 0.9611 MB / 0.7021 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5106, allocations: 0 / 0.7021 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002415/0.513, allocations: 1.14 MB / 0.7032 GB, free: 144.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002507/0.5133, allocations: 157.7 kB / 0.7033 GB, free: 144.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003762/0.517, allocations: 3.142 MB / 0.7064 GB, free: 143.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/0.517, allocations: 3.688 kB / 0.7064 GB, free: 143.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002855/0.5199, allocations: 2.282 MB / 0.7086 GB, free: 142.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.5223, allocations: 0.8122 MB / 0.7094 GB, free: 142.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.534, allocations: 8.444 MB / 0.7177 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.5355, allocations: 1.4 MB / 0.719 GB, free: 139.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001515/0.537, allocations: 462.9 kB / 0.7195 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.5373, allocations: 142.4 kB / 0.7196 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.874e-06/0.5373, allocations: 4 kB / 0.7196 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.05823/0.5955, allocations: 52.5 MB / 0.7709 GB, free: 107.2 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.2361446702852845]