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.002354/0.002354, allocations: 85.48 kB / 19.44 MB, free: 344 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.00263/0.00263, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.547 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.365/1.365, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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_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.723e-06/1.723e-06, allocations: 0.7656 kB / 0.5196 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.938e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03857/0.0386, allocations: 26.81 MB / 0.5458 GB, free: 7.637 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01665/0.05526, allocations: 8.238 MB / 0.5539 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.05798, allocations: 154.8 kB / 0.554 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.008452/0.06643, allocations: 2.861 MB / 0.5568 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.005509/0.07194, allocations: 1.713 MB / 0.5585 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005887/0.07783, allocations: 1.7 MB / 0.5601 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0103/0.08813, allocations: 6.258 MB / 0.5663 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006966/0.09509, allocations: 3.77 MB / 0.5699 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009268/0.1044, allocations: 3.753 MB / 0.5736 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006349/0.1107, allocations: 2.811 MB / 0.5763 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.001773/0.1125, allocations: 0.5078 MB / 0.5768 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004273/0.1168, allocations: 1.22 MB / 0.578 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.003925/0.1207, allocations: 2.222 MB / 0.5802 GB, free: 4.316 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.00492/0.1256, allocations: 1.685 MB / 0.5819 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.1399, allocations: 8.244 MB / 0.5899 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1399, allocations: 3.938 kB / 0.5899 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1399, allocations: 0 / 0.5899 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002768/0.1401, allocations: 0.9688 kB / 0.5899 GB, free: 10.36 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.01343/0.1536, allocations: 4.868 MB / 0.5947 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.1536, allocations: 8.031 kB / 0.5947 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005762/0.1594, allocations: 1.276 MB / 0.5959 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007385/0.1668, allocations: 2.525 MB / 0.5984 GB, free: 1.59 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/0.1671, allocations: 267.7 kB / 0.5986 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.1685, allocations: 380.8 kB / 0.599 GB, free: 0.957 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009895/0.1784, allocations: 4.429 MB / 0.6033 GB, free: 12.08 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.1785, allocations: 23.77 kB / 0.6033 GB, free: 12.05 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004046/0.1789, allocations: 156.9 kB / 0.6035 GB, free: 11.9 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006661/0.1796, allocations: 286.9 kB / 0.6038 GB, free: 11.62 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005027/0.1846, allocations: 1.622 MB / 0.6054 GB, free: 9.996 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03606/0.2206, allocations: 23.75 MB / 0.6285 GB, free: 1.535 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.2221, allocations: 0.5238 MB / 0.6291 GB, free: 1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009265/0.223, allocations: 474.5 kB / 0.6295 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.493e-05/0.2231, allocations: 17 kB / 0.6295 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.2232, allocations: 50.39 kB / 0.6296 GB, free: 468 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=110): time 3.056e-06/0.2232, allocations: 2.031 kB / 0.6296 GB, free: 468 kB / 0.5886 GB Notification: Performance of matching and sorting (n=131): time 0.0164/0.2396, allocations: 5.467 MB / 0.6349 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.2396, allocations: 65.47 kB / 0.635 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.2423, allocations: 1.797 MB / 0.6367 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.2425, allocations: 47.3 kB / 0.6368 GB, free: 9.035 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001677/0.2441, allocations: 1.882 MB / 0.6386 GB, free: 7.137 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006533/0.2448, allocations: 0.5272 MB / 0.6391 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006845/0.2455, allocations: 405 kB / 0.6395 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002492/0.2457, allocations: 476.8 kB / 0.64 GB, free: 5.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009752/0.2467, allocations: 452.3 kB / 0.6404 GB, free: 5.289 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.2486, allocations: 1.285 MB / 0.6417 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.2516, allocations: 1.873 MB / 0.6435 GB, free: 1.484 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.2516, allocations: 4 kB / 0.6435 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005594/0.2572, allocations: 2.289 MB / 0.6457 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.2572, allocations: 12 kB / 0.6457 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.2573, allocations: 23.94 kB / 0.6458 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00284/0.2601, allocations: 0.6497 MB / 0.6464 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.2619, allocations: 391.2 kB / 0.6468 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.2811, allocations: 17.89 MB / 0.6642 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.2829, allocations: 103.8 kB / 0.6643 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.2831, allocations: 75.98 kB / 0.6644 GB, free: 10.86 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 (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.001491/0.2846, allocations: 394.5 kB / 0.6648 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000586/0.2852, allocations: 238.8 kB / 0.665 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004572/0.2898, allocations: 1.751 MB / 0.6667 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.2898, allocations: 12 kB / 0.6667 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.061e-05/0.2898, allocations: 8 kB / 0.6667 GB, free: 8.406 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.2898, allocations: 7.969 kB / 0.6668 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.3028, allocations: 5.426 MB / 0.6721 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.3028, allocations: 4 kB / 0.6721 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.3041, allocations: 235.6 kB / 0.6723 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/0.3066, allocations: 0.6259 MB / 0.6729 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.3068, allocations: 28 kB / 0.6729 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2998/0.6066, allocations: 17.77 MB / 0.6903 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6066, allocations: 6.812 kB / 0.6903 GB, free: 160.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/0.611, allocations: 2.448 MB / 0.6927 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.612, allocations: 358.5 kB / 0.693 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.6122, allocations: 32.23 kB / 0.693 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008687/0.6131, allocations: 82.36 kB / 0.6931 GB, free: 160.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/0.6134, allocations: 118.1 kB / 0.6932 GB, free: 160 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.223e-05/0.6135, allocations: 45.95 kB / 0.6933 GB, free: 160 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001105/0.6146, allocations: 0.9985 MB / 0.6943 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6146, allocations: 0 / 0.6943 GB, free: 159.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002262/0.6169, allocations: 0.6885 MB / 0.6949 GB, free: 159.9 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.0002403/0.6171, allocations: 152.6 kB / 0.6951 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00412/0.6212, allocations: 3.146 MB / 0.6981 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.6212, allocations: 0 / 0.6981 GB, free: 158.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002565/0.6238, allocations: 2.401 MB / 0.7005 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/0.6266, allocations: 0.6401 MB / 0.7011 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008376/0.635, allocations: 5.979 MB / 0.707 GB, free: 154.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.6369, allocations: 1.892 MB / 0.7088 GB, free: 153.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001258/0.6382, allocations: 396.3 kB / 0.7092 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.6385, allocations: 116.3 kB / 0.7093 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.223e-06/0.6385, allocations: 0 / 0.7093 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.05264/0.6911, allocations: 33.89 MB / 0.7424 GB, free: 144.9 MB / 0.6355 GB " [Timeout remaining time 659] 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: 7.56039341702126]