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.0009945/0.0009945, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001216/0.001216, allocations: 181 kB / 23.36 MB, free: 1.133 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.112/1.112, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8343/0.8343, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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.483e-06/1.483e-06, allocations: 0 / 480.1 MB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.081e-05, allocations: 2.312 kB / 480.1 MB, free: 6.863 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01237/0.01239, allocations: 15.13 MB / 495.2 MB, free: 7.734 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00829/0.02068, allocations: 4.626 MB / 499.8 MB, free: 3.129 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.02249, allocations: 150.9 kB / 500 MB, free: 2.98 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.02389, allocations: 0.6404 MB / 0.4889 GB, free: 2.336 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.02648, allocations: 1.449 MB / 0.4903 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.02867, allocations: 1.337 MB / 0.4916 GB, free: 15.56 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005613/0.03429, allocations: 6.167 MB / 0.4976 GB, free: 9.379 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004204/0.03849, allocations: 4.008 MB / 0.5015 GB, free: 5.254 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006124/0.04461, allocations: 3.706 MB / 0.5051 GB, free: 1.543 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002884/0.0475, allocations: 2.763 MB / 0.5078 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004681/0.04797, allocations: 0.5095 MB / 0.5083 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007248/0.04869, allocations: 0.5974 MB / 0.5089 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.04991, allocations: 2.218 MB / 0.5111 GB, free: 11.46 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.05107, allocations: 1.669 MB / 0.5127 GB, free: 9.789 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.05414, allocations: 4.11 MB / 0.5167 GB, free: 5.668 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.05415, allocations: 4.688 kB / 0.5167 GB, free: 5.664 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.05415, allocations: 1.031 kB / 0.5167 GB, free: 5.664 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.328e-05/0.05418, allocations: 0 / 0.5167 GB, free: 5.664 MB / 490.7 MB 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.003759/0.05794, allocations: 3.977 MB / 0.5206 GB, free: 1.652 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.05797, allocations: 12.03 kB / 0.5206 GB, free: 1.641 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.06008, allocations: 0.998 MB / 0.5216 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002/0.06208, allocations: 1.988 MB / 0.5236 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.06221, allocations: 271.6 kB / 0.5238 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004278/0.06263, allocations: 384.8 kB / 0.5242 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003283/0.06592, allocations: 3.6 MB / 0.5277 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.368e-05/0.06598, allocations: 21.11 kB / 0.5277 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002344/0.06622, allocations: 160 kB / 0.5279 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000302/0.06652, allocations: 274.9 kB / 0.5281 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.06892, allocations: 0.9935 MB / 0.5291 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/0.08529, allocations: 14.16 MB / 0.5429 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007964/0.08608, allocations: 402.5 kB / 0.5433 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007518/0.08683, allocations: 307.6 kB / 0.5436 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.08689, allocations: 22.06 kB / 0.5436 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.08693, allocations: 47.55 kB / 0.5437 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=110): time 3.146e-06/0.08693, allocations: 0 / 0.5437 GB, free: 9.188 MB / 0.5105 GB Notification: Performance of matching and sorting (n=113): time 0.005718/0.09265, allocations: 3.092 MB / 0.5467 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.09268, allocations: 64.41 kB / 0.5468 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.09354, allocations: 1.194 MB / 0.5479 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.641e-05/0.09361, allocations: 43.27 kB / 0.548 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006251/0.09423, allocations: 1.502 MB / 0.5494 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.09447, allocations: 428.3 kB / 0.5498 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/0.09474, allocations: 287.3 kB / 0.5501 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.68e-05/0.09481, allocations: 306.8 kB / 0.5504 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.09508, allocations: 202.8 kB / 0.5506 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007915/0.09587, allocations: 0.729 MB / 0.5513 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.09689, allocations: 1.099 MB / 0.5524 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.0969, allocations: 8 kB / 0.5524 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001673/0.09858, allocations: 1.284 MB / 0.5536 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.0986, allocations: 16 kB / 0.5537 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.09862, allocations: 16 kB / 0.5537 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009258/0.09955, allocations: 412.4 kB / 0.5541 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008691/0.1004, allocations: 377.6 kB / 0.5544 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005016/0.1054, allocations: 8.047 MB / 0.5623 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.1061, allocations: 52 kB / 0.5623 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/0.1062, allocations: 56 kB / 0.5624 GB, free: 4.93 MB / 0.5261 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 (184): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(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 prepare postOptimizeDAE: time 0.0007264/0.1069, allocations: 218.9 kB / 0.5626 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.1071, allocations: 159.8 kB / 0.5627 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.1084, allocations: 0.97 MB / 0.5637 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.1084, allocations: 12.66 kB / 0.5637 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1084, allocations: 4 kB / 0.5637 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1084, allocations: 7.969 kB / 0.5637 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.1119, allocations: 2.339 MB / 0.566 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.1119, allocations: 4 kB / 0.566 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/0.1125, allocations: 219.4 kB / 0.5662 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008515/0.1133, allocations: 392.7 kB / 0.5666 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.1134, allocations: 24 kB / 0.5666 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004655/0.118, allocations: 8.044 MB / 0.5745 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.118, allocations: 8.562 kB / 0.5745 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.1197, allocations: 1.322 MB / 0.5758 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.1201, allocations: 252.2 kB / 0.576 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.1202, allocations: 31.98 kB / 0.576 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.1206, allocations: 23.94 kB / 0.5761 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.1208, allocations: 96.77 kB / 0.5762 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.1209, allocations: 28.56 kB / 0.5762 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004476/0.1213, allocations: 0.5749 MB / 0.5767 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1213, allocations: 0 / 0.5767 GB, free: 5.445 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001469/0.1228, allocations: 0.6561 MB / 0.5774 GB, free: 4.789 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.123, allocations: 122.2 kB / 0.5775 GB, free: 4.668 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001952/0.1249, allocations: 1.641 MB / 0.5791 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-05/0.1249, allocations: 23.75 kB / 0.5791 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.126, allocations: 1.192 MB / 0.5803 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.1274, allocations: 0.6381 MB / 0.5809 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007254/0.1346, allocations: 5.682 MB / 0.5865 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009055/0.1355, allocations: 0.9068 MB / 0.5873 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009143/0.1364, allocations: 240 kB / 0.5876 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008837/0.1373, allocations: 0.499 MB / 0.5881 GB, free: 9.598 MB / 0.5573 GB Notification: Performance of SimCode: time 2.014e-06/0.1373, allocations: 0 / 0.5881 GB, free: 9.598 MB / 0.5573 GB Notification: Performance of Templates: time 0.04525/0.1826, allocations: 32.53 MB / 0.6198 GB, free: 9.852 MB / 0.5886 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.309650870040059]