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.0009392/0.0009392, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001129/0.002068, allocations: 435.8 kB / 10.33 MB, free: 368 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.0008786/0.0008786, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001176/0.002055, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9927/0.9927, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08839/1.081, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.8109/0.8109, allocations: 154.6 MB / 398.5 MB, free: 0.5156 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2934/1.104, allocations: 49.03 MB / 447.6 MB, free: 6.691 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.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 2.064e-06/2.064e-06, allocations: 0 / 448.9 MB, free: 5.41 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.328e-05, allocations: 4.422 kB / 448.9 MB, free: 5.406 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006313/0.006337, allocations: 4.948 MB / 453.8 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.008777, allocations: 1.803 MB / 455.6 MB, free: 14.71 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/0.009046, allocations: 35.69 kB / 455.7 MB, free: 14.68 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.009477, allocations: 235.5 kB / 455.9 MB, free: 14.45 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005838/0.01006, allocations: 0.5091 MB / 456.4 MB, free: 13.94 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005615/0.01062, allocations: 398.7 kB / 456.8 MB, free: 13.55 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000995/0.01162, allocations: 1.358 MB / 458.1 MB, free: 12.19 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005956/0.01221, allocations: 0.5369 MB / 458.7 MB, free: 11.65 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008114/0.01302, allocations: 0.7411 MB / 459.4 MB, free: 10.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005726/0.0136, allocations: 0.5254 MB / 459.9 MB, free: 10.38 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.01368, allocations: 64 kB / 460 MB, free: 10.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.01393, allocations: 143.7 kB / 460.1 MB, free: 10.18 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.01412, allocations: 299.2 kB / 460.4 MB, free: 9.887 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.01433, allocations: 255.5 kB / 460.7 MB, free: 9.637 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005771/0.01491, allocations: 0.6977 MB / 461.4 MB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.01492, allocations: 0 / 461.4 MB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01492, allocations: 0 / 461.4 MB, free: 8.938 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.01494, allocations: 4.812 kB / 461.4 MB, free: 8.934 MB / 442.7 MB 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.001166/0.01611, allocations: 1.228 MB / 462.6 MB, free: 7.684 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.72e-05/0.01614, allocations: 8.656 kB / 462.6 MB, free: 7.676 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007441/0.01688, allocations: 338.7 kB / 463 MB, free: 7.328 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.01744, allocations: 0.5247 MB / 463.5 MB, free: 6.789 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.01746, allocations: 45.69 kB / 463.5 MB, free: 6.742 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.01753, allocations: 68.36 kB / 463.6 MB, free: 6.676 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006616/0.01819, allocations: 0.9529 MB / 464.5 MB, free: 5.551 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.01821, allocations: 8.875 kB / 464.6 MB, free: 5.543 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/0.01826, allocations: 32.36 kB / 464.6 MB, free: 5.512 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.039e-05/0.01835, allocations: 90.03 kB / 464.7 MB, free: 5.426 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.01864, allocations: 261.8 kB / 464.9 MB, free: 5.176 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.02101, allocations: 3.914 MB / 468.8 MB, free: 1.129 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.02138, allocations: 284.9 kB / 469.1 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.02149, allocations: 91.42 kB / 469.2 MB, free: 0.7461 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.02151, allocations: 8.5 kB / 469.2 MB, free: 0.7383 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.02154, allocations: 41.22 kB / 469.3 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/0.02154, allocations: 0 / 469.3 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001347/0.02289, allocations: 0.8054 MB / 470.1 MB, free: 15.88 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.02292, allocations: 59.89 kB / 470.1 MB, free: 15.81 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.02319, allocations: 486.9 kB / 470.6 MB, free: 15.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.02322, allocations: 30.83 kB / 470.6 MB, free: 15.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.02337, allocations: 380.8 kB / 471 MB, free: 14.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.02347, allocations: 182.5 kB / 471.2 MB, free: 14.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.02359, allocations: 119.8 kB / 471.3 MB, free: 14.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.962e-05/0.02369, allocations: 378.7 kB / 471.7 MB, free: 14.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.02378, allocations: 69.97 kB / 471.7 MB, free: 14.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.02396, allocations: 310.1 kB / 472 MB, free: 13.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.02429, allocations: 444.3 kB / 472.5 MB, free: 13.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.02429, allocations: 0 / 472.5 MB, free: 13.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006636/0.02496, allocations: 0.5658 MB / 473 MB, free: 12.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.02498, allocations: 8 kB / 473 MB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.02499, allocations: 9.25 kB / 473.1 MB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006743/0.02566, allocations: 290.6 kB / 473.3 MB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.02594, allocations: 127.8 kB / 473.5 MB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.02913, allocations: 5.306 MB / 478.8 MB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.02934, allocations: 20 kB / 478.8 MB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.02937, allocations: 24 kB / 478.8 MB, free: 6.512 MB / 458.7 MB 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.000143/0.02951, allocations: 161.3 kB / 479 MB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.02958, allocations: 63.94 kB / 479 MB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.03008, allocations: 449.3 kB / 479.5 MB, free: 5.816 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.03008, allocations: 4 kB / 479.5 MB, free: 5.812 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.03009, allocations: 6.594 kB / 479.5 MB, free: 5.809 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.03009, allocations: 7.984 kB / 479.5 MB, free: 5.801 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009346/0.03103, allocations: 0.8787 MB / 480.4 MB, free: 4.867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.03103, allocations: 5.656 kB / 480.4 MB, free: 4.863 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.03116, allocations: 47.92 kB / 480.4 MB, free: 4.816 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.03127, allocations: 87.53 kB / 480.5 MB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005722/0.03184, allocations: 283 kB / 480.8 MB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.03187, allocations: 12 kB / 480.8 MB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/0.03469, allocations: 5.3 MB / 486.1 MB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.03469, allocations: 0 / 486.1 MB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.03523, allocations: 0.5716 MB / 486.7 MB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.03527, allocations: 19.94 kB / 486.7 MB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.03542, allocations: 16.72 kB / 486.7 MB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.0355, allocations: 47.8 kB / 486.7 MB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.03552, allocations: 12.75 kB / 486.8 MB, free: 14.05 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.03567, allocations: 208.4 kB / 487 MB, free: 13.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.03567, allocations: 1.469 kB / 487 MB, free: 13.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005079/0.03618, allocations: 224 kB / 487.2 MB, free: 13.62 MB / 474.7 MB 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.0001279/0.0363, allocations: 105.2 kB / 487.3 MB, free: 13.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007964/0.0371, allocations: 0.8941 MB / 488.2 MB, free: 12.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.072e-05/0.03712, allocations: 12.5 kB / 488.2 MB, free: 12.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.03761, allocations: 0.7078 MB / 488.9 MB, free: 11.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.03811, allocations: 249.2 kB / 489.1 MB, free: 11.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/0.04349, allocations: 1.327 MB / 490.5 MB, free: 10.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.04364, allocations: 211.4 kB / 490.7 MB, free: 9.988 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.04385, allocations: 77.98 kB / 490.8 MB, free: 9.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.04413, allocations: 209.2 kB / 491 MB, free: 9.727 MB / 474.7 MB Notification: Performance of SimCode: time 6.72e-07/0.04413, allocations: 0 / 491 MB, free: 9.727 MB / 474.7 MB Notification: Performance of Templates: time 0.01449/0.05862, allocations: 12.5 MB / 0.4917 GB, free: 13.72 MB / 490.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7791705913841724]