Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001203/0.001203, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009949/0.0009949, allocations: 173 kB / 23.49 MB, free: 1.059 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.9631/0.9631, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7988/0.7988, allocations: 154.8 MB / 415.1 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0.7656 kB / 0.5206 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.35e-05, allocations: 3.219 kB / 0.5206 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02066/0.02068, allocations: 26.97 MB / 0.5469 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01043/0.03111, allocations: 8.254 MB / 0.555 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.03244, allocations: 154.8 kB / 0.5551 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.003563/0.036, allocations: 2.848 MB / 0.5579 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.03885, allocations: 1.716 MB / 0.5596 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.04233, allocations: 1.697 MB / 0.5613 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005591/0.04792, allocations: 6.263 MB / 0.5674 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00399/0.05191, allocations: 3.773 MB / 0.5711 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.05561, allocations: 3.751 MB / 0.5747 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.05852, allocations: 2.808 MB / 0.5775 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0005844/0.0591, allocations: 0.5117 MB / 0.578 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.06063, allocations: 1.225 MB / 0.5792 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.06198, allocations: 2.229 MB / 0.5813 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.06356, allocations: 1.672 MB / 0.583 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.0671, allocations: 4.516 MB / 0.5874 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.0671, allocations: 0 / 0.5874 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.463e-06/0.0671, allocations: 0 / 0.5874 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.514e-05/0.06714, allocations: 0 / 0.5874 GB, free: 13.68 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004341/0.07148, allocations: 4.471 MB / 0.5917 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.07152, allocations: 12.03 kB / 0.5918 GB, free: 9.145 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/0.07452, allocations: 1.271 MB / 0.593 GB, free: 7.871 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.07719, allocations: 2.527 MB / 0.5955 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.07732, allocations: 271.7 kB / 0.5957 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/0.07776, allocations: 380.8 kB / 0.5961 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0042/0.08196, allocations: 3.964 MB / 0.6 GB, free: 260 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.207e-05/0.08204, allocations: 31.75 kB / 0.6 GB, free: 228 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.08228, allocations: 160 kB / 0.6001 GB, free: 68 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003403/0.08262, allocations: 280.1 kB / 0.6004 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.08505, allocations: 1.426 MB / 0.6018 GB, free: 14.36 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.09765, allocations: 19.79 MB / 0.6211 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.09831, allocations: 459.3 kB / 0.6216 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.09883, allocations: 415.2 kB / 0.622 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.875e-05/0.09889, allocations: 17 kB / 0.622 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.09892, allocations: 53.67 kB / 0.622 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=110): time 2.645e-06/0.09893, allocations: 4 kB / 0.622 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of matching and sorting (n=131): time 0.007885/0.1068, allocations: 4.884 MB / 0.6268 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.1069, allocations: 70.69 kB / 0.6269 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009974/0.1078, allocations: 1.304 MB / 0.6281 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/0.1079, allocations: 45.7 kB / 0.6282 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000754/0.1087, allocations: 1.78 MB / 0.6299 GB, free: 0.8789 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/0.1089, allocations: 499.9 kB / 0.6304 GB, free: 396 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/0.1092, allocations: 330.3 kB / 0.6307 GB, free: 60 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1094, allocations: 484.7 kB / 0.6312 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.1099, allocations: 323.8 kB / 0.6315 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000917/0.1108, allocations: 1.105 MB / 0.6326 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.1122, allocations: 1.57 MB / 0.6341 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.1122, allocations: 4 kB / 0.6341 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002624/0.1148, allocations: 1.984 MB / 0.636 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.1149, allocations: 15.98 kB / 0.6361 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.1149, allocations: 16 kB / 0.6361 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.1163, allocations: 0.5712 MB / 0.6366 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008571/0.1172, allocations: 391.3 kB / 0.637 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009014/0.1262, allocations: 17.12 MB / 0.6537 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009506/0.1271, allocations: 107.9 kB / 0.6538 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.215e-05/0.1272, allocations: 79.98 kB / 0.6539 GB, free: 6.473 MB / 0.6198 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.001005/0.1282, allocations: 264 kB / 0.6542 GB, free: 6.203 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.1284, allocations: 246.7 kB / 0.6544 GB, free: 5.961 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.1308, allocations: 1.521 MB / 0.6559 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.1308, allocations: 12 kB / 0.6559 GB, free: 4.375 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1308, allocations: 12 kB / 0.6559 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.1308, allocations: 7.969 kB / 0.6559 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00515/0.136, allocations: 4.187 MB / 0.66 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.136, allocations: 8.031 kB / 0.66 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.1366, allocations: 231.6 kB / 0.6602 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.1377, allocations: 0.5358 MB / 0.6607 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/0.1378, allocations: 32 kB / 0.6608 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2546/0.3923, allocations: 17.09 MB / 0.6775 GB, free: 176.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.3923, allocations: 10.03 kB / 0.6775 GB, free: 176.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.3952, allocations: 2.067 MB / 0.6795 GB, free: 175.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.3957, allocations: 357.8 kB / 0.6798 GB, free: 175.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.3959, allocations: 33.84 kB / 0.6799 GB, free: 175.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.3963, allocations: 79.36 kB / 0.6799 GB, free: 175.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/0.3966, allocations: 123.4 kB / 0.6801 GB, free: 175.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.3967, allocations: 43.47 kB / 0.6801 GB, free: 175.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006769/0.3973, allocations: 0.7467 MB / 0.6808 GB, free: 175.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.3973, allocations: 0 / 0.6808 GB, free: 175.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001765/0.3991, allocations: 0.6869 MB / 0.6815 GB, free: 175.3 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.0001971/0.3993, allocations: 145.9 kB / 0.6816 GB, free: 175.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002314/0.4016, allocations: 2.866 MB / 0.6844 GB, free: 173.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.4016, allocations: 0 / 0.6844 GB, free: 173.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.4029, allocations: 2.268 MB / 0.6867 GB, free: 172 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.4044, allocations: 0.6366 MB / 0.6873 GB, free: 172 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006766/0.4112, allocations: 5.83 MB / 0.693 GB, free: 169.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007471/0.4119, allocations: 0.9344 MB / 0.6939 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007748/0.4127, allocations: 394.2 kB / 0.6943 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.4129, allocations: 113 kB / 0.6944 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.323e-06/0.4129, allocations: 0 / 0.6944 GB, free: 169.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.04434/0.4572, allocations: 33.94 MB / 0.7275 GB, free: 161.9 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7890198298264295]