Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0007493/0.0007493, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007498/0.0007498, allocations: 174.3 kB / 23.21 MB, free: 1.352 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 0.8829/0.8829, allocations: 177.1 MB / 203.5 MB, free: 5.758 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-531:686: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-531:694: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.6949/0.6949, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.779e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02315/0.02318, allocations: 31.08 MB / 0.6497 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0171/0.04028, allocations: 14.3 MB / 0.6637 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/0.04352, allocations: 206.4 kB / 0.6639 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005459/0.04898, allocations: 3.679 MB / 0.6675 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007762/0.05674, allocations: 3.078 MB / 0.6705 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005195/0.06194, allocations: 2.353 MB / 0.6728 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.2951/0.3571, allocations: 9.005 MB / 0.6815 GB, free: 51.95 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006089/0.3632, allocations: 5.508 MB / 0.6869 GB, free: 51.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008661/0.3718, allocations: 5.55 MB / 0.6923 GB, free: 51.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005559/0.3774, allocations: 3.731 MB / 0.696 GB, free: 51.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001821/0.3792, allocations: 0.7216 MB / 0.6967 GB, free: 51.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003745/0.3829, allocations: 1.627 MB / 0.6983 GB, free: 50.99 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003249/0.3862, allocations: 3.031 MB / 0.7012 GB, free: 50.69 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004505/0.3907, allocations: 2.373 MB / 0.7036 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.4033, allocations: 11.4 MB / 0.7147 GB, free: 48.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4033, allocations: 0 / 0.7147 GB, free: 48.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4033, allocations: 0 / 0.7147 GB, free: 48.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0004612/0.4038, allocations: 0 / 0.7147 GB, free: 48.24 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01957/0.4233, allocations: 5.997 MB / 0.7205 GB, free: 44.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.4234, allocations: 10.83 kB / 0.7206 GB, free: 44.97 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006154/0.4296, allocations: 1.179 MB / 0.7217 GB, free: 44.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009954/0.4395, allocations: 3.469 MB / 0.7251 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000511/0.44, allocations: 375.9 kB / 0.7255 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002791/0.4428, allocations: 0.4927 MB / 0.7259 GB, free: 42.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/0.465, allocations: 8.864 MB / 0.7346 GB, free: 38.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/0.4652, allocations: 25.77 kB / 0.7346 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009674/0.4662, allocations: 218.6 kB / 0.7348 GB, free: 38.23 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000738/0.4669, allocations: 434.6 kB / 0.7352 GB, free: 38.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01235/0.4793, allocations: 6.081 MB / 0.7412 GB, free: 36.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03103/0.5103, allocations: 21.21 MB / 0.7619 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.5122, allocations: 1.902 MB / 0.7637 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.5138, allocations: 1.741 MB / 0.7654 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.464e-05/0.5139, allocations: 19.34 kB / 0.7655 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.5139, allocations: 67.48 kB / 0.7655 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=171): time 3.737e-06/0.514, allocations: 0 / 0.7655 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=276): time 0.0726/0.5866, allocations: 38.67 MB / 0.8033 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.5866, allocations: 85.58 kB / 0.8034 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/0.5896, allocations: 2.032 MB / 0.8054 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004546/0.59, allocations: 77.7 kB / 0.8054 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.5912, allocations: 2.349 MB / 0.8077 GB, free: 140 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008293/0.592, allocations: 0.9605 MB / 0.8087 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006974/0.5927, allocations: 0.5063 MB / 0.8092 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.822e-05/0.5928, allocations: 305.1 kB / 0.8095 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.595, allocations: 1.973 MB / 0.8114 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002618/0.5976, allocations: 2.6 MB / 0.8139 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004502/0.6021, allocations: 4.929 MB / 0.8187 GB, free: 4.422 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.6021, allocations: 8 kB / 0.8187 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009657/0.6117, allocations: 7.622 MB / 0.8262 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.6118, allocations: 12 kB / 0.8262 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.6118, allocations: 20 kB / 0.8262 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006257/0.6181, allocations: 3.201 MB / 0.8293 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.6195, allocations: 412 kB / 0.8297 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03014/0.6496, allocations: 32.55 MB / 0.8615 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.6523, allocations: 167.8 kB / 0.8617 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.6525, allocations: 112 kB / 0.8618 GB, free: 7.977 MB / 0.7136 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003305/0.6558, allocations: 1.795 MB / 0.8635 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006544/0.6565, allocations: 314.1 kB / 0.8638 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008875/0.6654, allocations: 7.234 MB / 0.8709 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.6654, allocations: 24 kB / 0.8709 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.779e-05/0.6654, allocations: 32 kB / 0.871 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.848e-05/0.6655, allocations: 15.95 kB / 0.871 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/0.6818, allocations: 11.39 MB / 0.8821 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.6818, allocations: 8 kB / 0.8821 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.6824, allocations: 231.1 kB / 0.8823 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004956/0.6874, allocations: 2.856 MB / 0.8851 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/0.6876, allocations: 52 kB / 0.8852 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02817/0.7158, allocations: 31.36 MB / 0.9158 GB, free: 228 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.058e-06/0.7158, allocations: 15.67 kB / 0.9158 GB, free: 216 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008616/0.7244, allocations: 6.736 MB / 0.9224 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/0.7261, allocations: 0.697 MB / 0.9231 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004136/0.7265, allocations: 52 kB / 0.9231 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.7276, allocations: 171.8 kB / 0.9233 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007106/0.7283, allocations: 264.4 kB / 0.9235 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.7284, allocations: 76 kB / 0.9236 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001606/0.73, allocations: 1.326 MB / 0.9249 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2e-07/0.73, allocations: 0 / 0.9249 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004232/0.7343, allocations: 1.367 MB / 0.9262 GB, free: 5.43 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003484/0.7346, allocations: 173 kB / 0.9264 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008324/0.743, allocations: 6.558 MB / 0.9328 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.743, allocations: 4 kB / 0.9328 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.005049/0.748, allocations: 4.252 MB / 0.937 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/0.7515, allocations: 0.9973 MB / 0.9379 GB, free: 9.465 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/0.7679, allocations: 11.03 MB / 0.9487 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003868/0.7717, allocations: 3.216 MB / 0.9518 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006708/0.7724, allocations: 164.5 kB / 0.952 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of SimCode: time 1.633e-06/0.7724, allocations: 0 / 0.952 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of Templates: time 0.4067/1.179, allocations: 227.8 MB / 1.174 GB, free: 144.4 MB / 0.8386 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.235439605079591] Failed to read output from testmodel.py, exit status != 0: 1.1862216303125024 1.191708628 0.7869148069999999 Calling exit ...