Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.0007985/0.0007985, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009247/0.0009247, allocations: 169 kB / 23.02 MB, free: 1.543 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.9003/0.9003, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7722/0.7722, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.907e-05, allocations: 4 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01209/0.01212, allocations: 15.47 MB / 0.5354 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00724/0.01936, allocations: 4.501 MB / 0.5398 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.02081, allocations: 154.8 kB / 0.54 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.02195, allocations: 0.6321 MB / 0.5406 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.02402, allocations: 1.464 MB / 0.542 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.02588, allocations: 1.322 MB / 0.5433 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00446/0.03034, allocations: 6.172 MB / 0.5494 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003585/0.03392, allocations: 3.774 MB / 0.553 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003734/0.03766, allocations: 3.699 MB / 0.5567 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003231/0.04089, allocations: 2.855 MB / 0.5594 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0008899/0.04178, allocations: 0.5078 MB / 0.5599 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009294/0.04271, allocations: 0.6052 MB / 0.5605 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001441/0.04415, allocations: 2.22 MB / 0.5627 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.04561, allocations: 1.665 MB / 0.5643 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003073/0.04868, allocations: 4.11 MB / 0.5683 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.04868, allocations: 0 / 0.5683 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.04868, allocations: 0 / 0.5683 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.042e-05/0.04875, allocations: 3.984 kB / 0.5683 GB, free: 0.9102 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004521/0.05327, allocations: 4.386 MB / 0.5726 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.05331, allocations: 12.03 kB / 0.5726 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.0555, allocations: 1.212 MB / 0.5738 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.05788, allocations: 2.43 MB / 0.5762 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.05802, allocations: 267.7 kB / 0.5764 GB, free: 8.535 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004417/0.05846, allocations: 392.7 kB / 0.5768 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004159/0.06262, allocations: 3.966 MB / 0.5807 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.781e-05/0.06269, allocations: 19.81 kB / 0.5807 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002381/0.06293, allocations: 160 kB / 0.5809 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003231/0.06325, allocations: 278.9 kB / 0.5811 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003073/0.06632, allocations: 1.424 MB / 0.5825 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/0.08265, allocations: 19.87 MB / 0.6019 GB, free: 13.4 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/0.08347, allocations: 459.4 kB / 0.6024 GB, free: 12.95 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.08411, allocations: 407.4 kB / 0.6028 GB, free: 12.55 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/0.08417, allocations: 17 kB / 0.6028 GB, free: 12.53 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.0842, allocations: 54.39 kB / 0.6028 GB, free: 12.46 MB / 0.573 GB Notification: Performance of pre-optimization done (n=110): time 3.036e-06/0.08421, allocations: 0 / 0.6028 GB, free: 12.46 MB / 0.573 GB Notification: Performance of matching and sorting (n=131): time 0.01045/0.09465, allocations: 5.065 MB / 0.6078 GB, free: 7.387 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.09469, allocations: 64.72 kB / 0.6078 GB, free: 7.312 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.09604, allocations: 1.305 MB / 0.6091 GB, free: 5.992 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.148e-05/0.09613, allocations: 58.36 kB / 0.6092 GB, free: 5.93 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009997/0.09713, allocations: 1.777 MB / 0.6109 GB, free: 4.137 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000353/0.09748, allocations: 0.4888 MB / 0.6114 GB, free: 3.645 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004335/0.09791, allocations: 337 kB / 0.6117 GB, free: 3.309 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.09803, allocations: 477.2 kB / 0.6121 GB, free: 2.84 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000661/0.09869, allocations: 328.5 kB / 0.6125 GB, free: 2.52 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.09976, allocations: 1.105 MB / 0.6135 GB, free: 1.082 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/0.1017, allocations: 1.567 MB / 0.6151 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.1017, allocations: 4 kB / 0.6151 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003468/0.1051, allocations: 1.988 MB / 0.617 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.1052, allocations: 18.03 kB / 0.617 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.1052, allocations: 16.91 kB / 0.617 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/0.107, allocations: 0.606 MB / 0.6176 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.1081, allocations: 391.3 kB / 0.618 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.1182, allocations: 17.18 MB / 0.6348 GB, free: 9.828 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008293/0.1191, allocations: 115.8 kB / 0.6349 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.1192, allocations: 72 kB / 0.635 GB, free: 9.645 MB / 0.6042 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,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.0006282/0.1198, allocations: 272.1 kB / 0.6352 GB, free: 9.367 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/0.1201, allocations: 238.8 kB / 0.6355 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.1228, allocations: 1.525 MB / 0.6369 GB, free: 7.555 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.1228, allocations: 12 kB / 0.637 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1228, allocations: 8 kB / 0.637 GB, free: 7.535 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.1228, allocations: 7.969 kB / 0.637 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006267/0.1291, allocations: 4.202 MB / 0.6411 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.1291, allocations: 4 kB / 0.6411 GB, free: 3.125 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/0.1298, allocations: 231.6 kB / 0.6413 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.131, allocations: 0.5832 MB / 0.6419 GB, free: 2.277 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.606e-05/0.1311, allocations: 35.98 kB / 0.6419 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007902/0.139, allocations: 17.13 MB / 0.6586 GB, free: 8 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.139, allocations: 8 kB / 0.6586 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.1417, allocations: 2.068 MB / 0.6607 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.1421, allocations: 366.5 kB / 0.661 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.1422, allocations: 28 kB / 0.661 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.1427, allocations: 91.88 kB / 0.6611 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.1429, allocations: 128.5 kB / 0.6612 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-05/0.143, allocations: 36 kB / 0.6613 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006287/0.1436, allocations: 0.7486 MB / 0.662 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1436, allocations: 0 / 0.662 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001461/0.1451, allocations: 0.6953 MB / 0.6627 GB, free: 11.71 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001988/0.1453, allocations: 152.9 kB / 0.6628 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002602/0.1479, allocations: 2.882 MB / 0.6657 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.1479, allocations: 4 kB / 0.6657 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.1497, allocations: 2.267 MB / 0.6679 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.1512, allocations: 0.6387 MB / 0.6685 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1908/0.342, allocations: 5.827 MB / 0.6742 GB, free: 163.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009318/0.3429, allocations: 0.9328 MB / 0.6751 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009551/0.3439, allocations: 386.9 kB / 0.6755 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.3441, allocations: 114.9 kB / 0.6756 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.453e-06/0.3441, allocations: 1.734 kB / 0.6756 GB, free: 163.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.03879/0.3829, allocations: 35.95 MB / 0.7107 GB, free: 158.3 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.472999277058989]