Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007183/0.0007183, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009961/0.001714, 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.0006994/0.0006994, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009005/0.0016, 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 0.9925/0.9925, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1032/1.096, 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-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7828/0.7828, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.3002/1.083, allocations: 49.13 MB / 448.6 MB, free: 5.91 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-master/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_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 449.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.224e-05, allocations: 4.562 kB / 449.9 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005873/0.005895, allocations: 4.949 MB / 454.9 MB, free: 15.7 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.009196, allocations: 1.794 MB / 456.7 MB, free: 13.92 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004671/0.009663, allocations: 41.28 kB / 456.7 MB, free: 13.88 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005524/0.01022, allocations: 246.3 kB / 457 MB, free: 13.64 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007475/0.01096, allocations: 0.4937 MB / 457.5 MB, free: 13.15 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007701/0.01173, allocations: 399.1 kB / 457.9 MB, free: 12.76 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.01302, allocations: 1.366 MB / 459.2 MB, free: 11.39 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006884/0.01371, allocations: 0.5322 MB / 459.8 MB, free: 10.85 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007678/0.01447, allocations: 0.7536 MB / 460.5 MB, free: 10.09 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/0.01509, allocations: 0.521 MB / 461 MB, free: 9.574 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.587e-05/0.01517, allocations: 69.5 kB / 461.1 MB, free: 9.508 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.01545, allocations: 147.7 kB / 461.2 MB, free: 9.363 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.01564, allocations: 295.2 kB / 461.5 MB, free: 9.074 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.01584, allocations: 259.5 kB / 461.8 MB, free: 8.82 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006588/0.0165, allocations: 0.6988 MB / 462.5 MB, free: 8.121 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.01651, allocations: 0 / 462.5 MB, free: 8.121 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.01651, allocations: 0 / 462.5 MB, free: 8.121 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.01653, allocations: 0 / 462.5 MB, free: 8.121 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.001164/0.0177, allocations: 1.22 MB / 463.7 MB, free: 6.879 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.01773, allocations: 16.59 kB / 463.7 MB, free: 6.863 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008186/0.01855, allocations: 350.7 kB / 464.1 MB, free: 6.504 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.01911, allocations: 0.5109 MB / 464.6 MB, free: 5.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.01913, allocations: 46.17 kB / 464.6 MB, free: 5.934 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.0192, allocations: 72.36 kB / 464.7 MB, free: 5.863 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.01985, allocations: 0.9575 MB / 465.6 MB, free: 4.738 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.01987, allocations: 4.188 kB / 465.6 MB, free: 4.734 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.226e-05/0.01991, allocations: 32.36 kB / 465.7 MB, free: 4.703 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.604e-05/0.01999, allocations: 86.22 kB / 465.8 MB, free: 4.621 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.02028, allocations: 256.2 kB / 466 MB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.02263, allocations: 3.92 MB / 469.9 MB, free: 324 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.02301, allocations: 279.6 kB / 470.2 MB, free: 36 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.02313, allocations: 98.81 kB / 470.3 MB, free: 15.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.02315, allocations: 9.031 kB / 470.3 MB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.02317, allocations: 43 kB / 470.4 MB, free: 15.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 2.033e-06/0.02317, allocations: 5.938 kB / 470.4 MB, free: 15.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.001358/0.02453, allocations: 0.8092 MB / 471.2 MB, free: 15.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.02456, allocations: 55.91 kB / 471.2 MB, free: 14.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.0249, allocations: 488.2 kB / 471.7 MB, free: 14.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.02493, allocations: 33.7 kB / 471.7 MB, free: 14.46 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.02509, allocations: 384.7 kB / 472.1 MB, free: 14.08 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.02519, allocations: 178.5 kB / 472.3 MB, free: 13.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.02531, allocations: 119.5 kB / 472.4 MB, free: 13.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.146e-05/0.0254, allocations: 374.6 kB / 472.8 MB, free: 13.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.02548, allocations: 77.91 kB / 472.8 MB, free: 13.33 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.02584, allocations: 307 kB / 473.1 MB, free: 12.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.02621, allocations: 463.3 kB / 473.6 MB, free: 12.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.02622, allocations: 0 / 473.6 MB, free: 12.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006199/0.02684, allocations: 0.5615 MB / 474.2 MB, free: 11.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.02685, allocations: 8.781 kB / 474.2 MB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.02687, allocations: 8 kB / 474.2 MB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/0.02748, allocations: 286.4 kB / 474.5 MB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.02773, allocations: 134.5 kB / 474.6 MB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.03081, allocations: 5.309 MB / 479.9 MB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.03107, allocations: 21.48 kB / 479.9 MB, free: 5.684 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.0311, allocations: 28 kB / 479.9 MB, free: 5.656 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.0001526/0.03125, allocations: 154 kB / 480.1 MB, free: 5.496 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.03131, allocations: 59.94 kB / 480.1 MB, free: 5.438 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.03183, allocations: 453.8 kB / 480.6 MB, free: 4.973 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.03183, allocations: 4 kB / 480.6 MB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.03183, allocations: 4 kB / 480.6 MB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.03184, allocations: 4.359 kB / 480.6 MB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.03277, allocations: 0.8782 MB / 481.5 MB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.03277, allocations: 4.938 kB / 481.5 MB, free: 4.023 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.0329, allocations: 51.92 kB / 481.5 MB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.03301, allocations: 89.06 kB / 481.6 MB, free: 3.887 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005474/0.03356, allocations: 278.1 kB / 481.9 MB, free: 3.609 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.03358, allocations: 12 kB / 481.9 MB, free: 3.598 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002896/0.03647, allocations: 5.298 MB / 487.2 MB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.03648, allocations: 8.625 kB / 487.2 MB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.03701, allocations: 0.5806 MB / 487.8 MB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.03705, allocations: 11.94 kB / 487.8 MB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.0372, allocations: 12 kB / 487.8 MB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.03729, allocations: 54.52 kB / 487.9 MB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.0373, allocations: 8 kB / 487.9 MB, free: 13.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.03744, allocations: 210.1 kB / 488.1 MB, free: 13 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03744, allocations: 4 kB / 488.1 MB, free: 12.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005241/0.03796, allocations: 224 kB / 488.3 MB, free: 12.77 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.0001179/0.03808, allocations: 94.45 kB / 488.4 MB, free: 12.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008041/0.03888, allocations: 0.909 MB / 489.3 MB, free: 11.72 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.323e-05/0.03891, allocations: 12.5 kB / 489.3 MB, free: 11.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005284/0.03944, allocations: 0.7372 MB / 490.1 MB, free: 10.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.04066, allocations: 1.99 MB / 492 MB, free: 8.551 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005296/0.04596, allocations: 1.311 MB / 493.4 MB, free: 7.191 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.04613, allocations: 213.8 kB / 493.6 MB, free: 6.961 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002388/0.04637, allocations: 70.39 kB / 493.6 MB, free: 6.906 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.04666, allocations: 225.7 kB / 493.9 MB, free: 6.688 MB / 474.7 MB Notification: Performance of SimCode: time 1.352e-06/0.04667, allocations: 1.281 kB / 493.9 MB, free: 6.688 MB / 474.7 MB Notification: Performance of Templates: time 0.01534/0.06201, allocations: 12.52 MB / 0.4945 GB, free: 10.67 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8115506302565336]