Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001601/0.001601, allocations: 92.7 kB / 19.44 MB, free: 324 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.001711/0.001711, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.226/1.226, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.976e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01067/0.0107, allocations: 6.455 MB / 0.5259 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.00635/0.01705, allocations: 3.02 MB / 0.5289 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006446/0.01769, allocations: 39.62 kB / 0.5289 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.0205, allocations: 0.9602 MB / 0.5299 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.02223, allocations: 0.5383 MB / 0.5304 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.02357, allocations: 452.2 kB / 0.5308 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002022/0.02559, allocations: 1.259 MB / 0.532 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.02668, allocations: 0.5381 MB / 0.5326 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.02816, allocations: 0.6663 MB / 0.5332 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.02917, allocations: 475.7 kB / 0.5337 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.02933, allocations: 64 kB / 0.5337 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000814/0.03015, allocations: 347.7 kB / 0.5341 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004409/0.03059, allocations: 338.9 kB / 0.5344 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005444/0.03113, allocations: 316 kB / 0.5347 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.03316, allocations: 1.246 MB / 0.5359 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.03317, allocations: 2.781 kB / 0.5359 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.03317, allocations: 0 / 0.5359 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.478e-05/0.0332, allocations: 0 / 0.5359 GB, free: 1.879 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002541/0.03574, allocations: 1.107 MB / 0.537 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.03578, allocations: 12.03 kB / 0.537 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.03766, allocations: 347 kB / 0.5373 GB, free: 404 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.03888, allocations: 0.5688 MB / 0.5379 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.03893, allocations: 45.67 kB / 0.5379 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.03907, allocations: 72.98 kB / 0.538 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.04108, allocations: 1.34 MB / 0.5393 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.04111, allocations: 6.312 kB / 0.5393 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.772e-05/0.0412, allocations: 32.38 kB / 0.5393 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/0.04139, allocations: 89.19 kB / 0.5394 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.04287, allocations: 0.747 MB / 0.5402 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006362/0.04923, allocations: 4.522 MB / 0.5446 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.05036, allocations: 0.5088 MB / 0.5451 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.05085, allocations: 290.1 kB / 0.5453 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.05089, allocations: 8.5 kB / 0.5454 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.721e-05/0.05094, allocations: 48.23 kB / 0.5454 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.295e-06/0.05094, allocations: 0 / 0.5454 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.004438/0.05538, allocations: 1.703 MB / 0.5471 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.05544, allocations: 55.91 kB / 0.5471 GB, free: 6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000816/0.05626, allocations: 0.5149 MB / 0.5476 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.05631, allocations: 37.7 kB / 0.5477 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.05672, allocations: 428.8 kB / 0.5481 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.05691, allocations: 170.5 kB / 0.5482 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.05716, allocations: 127.6 kB / 0.5483 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002551/0.05741, allocations: 370.8 kB / 0.5487 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.05789, allocations: 273.8 kB / 0.549 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009555/0.05884, allocations: 0.49 MB / 0.5494 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.0601, allocations: 0.8036 MB / 0.5502 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.0601, allocations: 4 kB / 0.5502 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002245/0.06235, allocations: 1.107 MB / 0.5513 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.06238, allocations: 8 kB / 0.5513 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.0624, allocations: 9.062 kB / 0.5513 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/0.06408, allocations: 374.8 kB / 0.5517 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.06463, allocations: 131.7 kB / 0.5518 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008703/0.07333, allocations: 6.607 MB / 0.5583 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006186/0.07395, allocations: 39.97 kB / 0.5583 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-05/0.07403, allocations: 27.94 kB / 0.5583 GB, free: 9.887 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.000443/0.07447, allocations: 251.6 kB / 0.5586 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.07467, allocations: 89.86 kB / 0.5587 GB, free: 9.547 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.07647, allocations: 0.874 MB / 0.5595 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.07648, allocations: 4.188 kB / 0.5595 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.07649, allocations: 8.625 kB / 0.5595 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.0765, allocations: 4.922 kB / 0.5595 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.07941, allocations: 1.529 MB / 0.561 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.07941, allocations: 0 / 0.561 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.07971, allocations: 65.77 kB / 0.5611 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.08122, allocations: 362 kB / 0.5614 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.08126, allocations: 8 kB / 0.5614 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008008/0.08927, allocations: 6.596 MB / 0.5679 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.08927, allocations: 3.984 kB / 0.5679 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.09117, allocations: 0.991 MB / 0.5688 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.09151, allocations: 116.3 kB / 0.569 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.09161, allocations: 12 kB / 0.569 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.09202, allocations: 30.36 kB / 0.569 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.09214, allocations: 47.86 kB / 0.569 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.09218, allocations: 23.94 kB / 0.5691 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004581/0.09264, allocations: 342.8 kB / 0.5694 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.09264, allocations: 0 / 0.5694 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008672/0.09351, allocations: 231.9 kB / 0.5696 GB, free: 13.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.09368, allocations: 105.4 kB / 0.5697 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.09619, allocations: 1.238 MB / 0.5709 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.0962, allocations: 0 / 0.5709 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001399/0.09759, allocations: 0.8704 MB / 0.5718 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.0986, allocations: 198.5 kB / 0.572 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.1012, allocations: 1.355 MB / 0.5733 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005697/0.1018, allocations: 420.5 kB / 0.5737 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004016/0.1022, allocations: 118.9 kB / 0.5738 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1023, allocations: 44.5 kB / 0.5738 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of SimCode: time 6.61e-07/0.1023, allocations: 0 / 0.5738 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of Templates: time 0.02273/0.1251, allocations: 11.34 MB / 0.5849 GB, free: 14.27 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.338088748976588]