Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.0006248/0.0006248, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000938/0.001563, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000645/0.000645, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008586/0.001504, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.016/1.016, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0957/1.112, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.8067/0.8067, allocations: 154.6 MB / 398.8 MB, free: 400 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2977/1.104, allocations: 49.06 MB / 447.8 MB, free: 6.578 MB / 426.7 MB " [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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0.7656 kB / 449.2 MB, free: 5.258 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.313e-05, allocations: 5.047 kB / 449.2 MB, free: 5.254 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.008949/0.008962, allocations: 11.99 MB / 461.2 MB, free: 9.281 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006154/0.01512, allocations: 3.823 MB / 465 MB, free: 5.488 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008804/0.016, allocations: 111.8 kB / 465.1 MB, free: 5.379 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008068/0.0168, allocations: 0.5205 MB / 465.6 MB, free: 4.855 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.01842, allocations: 1.333 MB / 466.9 MB, free: 3.523 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.01987, allocations: 1.026 MB / 468 MB, free: 2.504 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.02436, allocations: 5.574 MB / 473.5 MB, free: 12.91 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/0.02777, allocations: 3.207 MB / 476.7 MB, free: 9.621 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.03117, allocations: 3.376 MB / 480.1 MB, free: 6.242 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002751/0.03392, allocations: 2.656 MB / 482.8 MB, free: 3.59 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004391/0.03436, allocations: 428.8 kB / 483.2 MB, free: 3.172 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000751/0.03511, allocations: 0.5114 MB / 483.7 MB, free: 2.66 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009954/0.03611, allocations: 1.727 MB / 485.4 MB, free: 0.9297 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.03719, allocations: 1.136 MB / 486.6 MB, free: 15.79 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002148/0.03934, allocations: 3.218 MB / 489.8 MB, free: 12.57 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.03935, allocations: 1.219 kB / 489.8 MB, free: 12.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.03935, allocations: 0 / 489.8 MB, free: 12.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.256e-05/0.03939, allocations: 0 / 489.8 MB, free: 12.57 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.003496/0.04289, allocations: 3.944 MB / 493.7 MB, free: 8.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.04292, allocations: 12.03 kB / 493.7 MB, free: 8.578 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001639/0.04456, allocations: 0.8845 MB / 494.6 MB, free: 7.676 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.04614, allocations: 1.564 MB / 496.2 MB, free: 6.074 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.984e-05/0.04624, allocations: 222.3 kB / 496.4 MB, free: 5.855 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/0.04653, allocations: 301.9 kB / 496.7 MB, free: 5.562 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.049, allocations: 2.871 MB / 499.6 MB, free: 2.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/0.04905, allocations: 12.08 kB / 499.6 MB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.04923, allocations: 131.9 kB / 499.7 MB, free: 2.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002045/0.04944, allocations: 208.3 kB / 499.9 MB, free: 2.066 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.05068, allocations: 0.7826 MB / 0.489 GB, free: 1.273 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007611/0.05829, allocations: 10.45 MB / 0.4992 GB, free: 6.516 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005563/0.05885, allocations: 0.5291 MB / 0.4997 GB, free: 6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.05921, allocations: 335.3 kB / 0.5 GB, free: 5.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-05/0.05927, allocations: 21 kB / 0.5 GB, free: 5.656 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.0593, allocations: 51.44 kB / 0.5001 GB, free: 5.598 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 3.056e-06/0.0593, allocations: 0.7031 kB / 0.5001 GB, free: 5.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.007713/0.06702, allocations: 3.977 MB / 0.504 GB, free: 1.773 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.06705, allocations: 64.41 kB / 0.504 GB, free: 1.699 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.06759, allocations: 0.8881 MB / 0.5049 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.06764, allocations: 41.7 kB / 0.5049 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.06812, allocations: 1.201 MB / 0.5061 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.06832, allocations: 396.5 kB / 0.5065 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.06854, allocations: 239.4 kB / 0.5067 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.06864, allocations: 366.3 kB / 0.5071 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.06882, allocations: 159.9 kB / 0.5072 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.06918, allocations: 0.5472 MB / 0.5077 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.06987, allocations: 0.8785 MB / 0.5086 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.06987, allocations: 4 kB / 0.5086 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001678/0.07155, allocations: 1.157 MB / 0.5097 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.07157, allocations: 8 kB / 0.5097 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.07158, allocations: 12 kB / 0.5098 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.07275, allocations: 0.5864 MB / 0.5103 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.07322, allocations: 247.6 kB / 0.5106 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003988/0.07721, allocations: 4.612 MB / 0.5151 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.07757, allocations: 36 kB / 0.5151 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/0.07763, allocations: 51.94 kB / 0.5152 GB, free: 5.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (125): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004615/0.07809, allocations: 196.2 kB / 0.5153 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.07822, allocations: 127.9 kB / 0.5155 GB, free: 5.441 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.07942, allocations: 0.9919 MB / 0.5164 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.07943, allocations: 12 kB / 0.5164 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.07944, allocations: 8 kB / 0.5164 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.07945, allocations: 3.984 kB / 0.5165 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.0822, allocations: 2.187 MB / 0.5186 GB, free: 2.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.08221, allocations: 4 kB / 0.5186 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.08249, allocations: 119.8 kB / 0.5187 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.08275, allocations: 222.9 kB / 0.5189 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.08382, allocations: 0.5605 MB / 0.5195 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.08386, allocations: 24 kB / 0.5195 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003908/0.08777, allocations: 4.616 MB / 0.524 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.08777, allocations: 4 kB / 0.524 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.08897, allocations: 1.127 MB / 0.5251 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.08906, allocations: 25.08 kB / 0.5251 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.08932, allocations: 28 kB / 0.5252 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.08947, allocations: 104.7 kB / 0.5253 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.0895, allocations: 24 kB / 0.5253 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002868/0.08979, allocations: 426 kB / 0.5257 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.08979, allocations: 0 / 0.5257 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001036/0.09083, allocations: 0.6055 MB / 0.5263 GB, free: 10.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.09098, allocations: 116.2 kB / 0.5264 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.09221, allocations: 1.286 MB / 0.5276 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.622e-05/0.09225, allocations: 32.44 kB / 0.5277 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008495/0.0931, allocations: 0.9672 MB / 0.5286 GB, free: 7.566 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.09532, allocations: 4.314 MB / 0.5328 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.1133, allocations: 4.808 MB / 0.5375 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.114, allocations: 0.7541 MB / 0.5383 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005241/0.1145, allocations: 174.2 kB / 0.5384 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005827/0.1151, allocations: 391.1 kB / 0.5388 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.433e-06/0.1151, allocations: 0 / 0.5388 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.04131/0.1564, allocations: 30.16 MB / 0.5683 GB, free: 14.68 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.119132879190147]