Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.0007224/0.0007224, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.000727/0.000727, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.8765/0.8765, allocations: 230.6 MB / 256.8 MB, free: 3.48 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198: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 master/package.mo): time 0.7557/0.7557, allocations: 203.8 MB / 0.5049 GB, free: 0.6992 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008818/0.0008818, allocations: 67.91 kB / 0.7194 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4584, allocations: 102 MB / 0.8191 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003281/0.4616, allocations: 3.178 MB / 0.8222 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.4636, allocations: 2.055 MB / 0.8242 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.4637, allocations: 4.312 kB / 0.8242 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.4643, allocations: 304.9 kB / 0.8245 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002809/0.4645, allocations: 195.9 kB / 0.8247 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.4649, allocations: 245.4 kB / 0.8249 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.4652, allocations: 330.3 kB / 0.8252 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.4654, allocations: 152.9 kB / 0.8254 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.4656, allocations: 139.8 kB / 0.8255 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.4658, allocations: 161.6 kB / 0.8256 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.4658, allocations: 23.72 kB / 0.8257 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000403/0.4662, allocations: 417.7 kB / 0.8261 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.231e-05/0.4663, allocations: 92.45 kB / 0.8262 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.271e-05/0.4664, allocations: 122.6 kB / 0.8263 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.4669, allocations: 494 kB / 0.8267 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4669, allocations: 4.547 kB / 0.8267 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4669, allocations: 0 / 0.8267 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4669, allocations: 1.375 kB / 0.8267 GB, free: 20.65 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.000562/0.4675, allocations: 0.4922 MB / 0.8272 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.4675, allocations: 10.75 kB / 0.8272 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004297/0.4679, allocations: 118.3 kB / 0.8274 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.4682, allocations: 206.6 kB / 0.8276 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4682, allocations: 13 kB / 0.8276 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.4682, allocations: 20.14 kB / 0.8276 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.4686, allocations: 358.2 kB / 0.8279 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4686, allocations: 0 / 0.8279 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.4686, allocations: 14.73 kB / 0.8279 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.533e-05/0.4686, allocations: 26.86 kB / 0.828 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.469, allocations: 293.8 kB / 0.8282 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.4701, allocations: 1.627 MB / 0.8298 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.4704, allocations: 241.8 kB / 0.8301 GB, free: 18.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.995e-05/0.4705, allocations: 103.8 kB / 0.8302 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.4706, allocations: 13.86 kB / 0.8302 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.4706, allocations: 36.17 kB / 0.8302 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 1.002e-06/0.4706, allocations: 0 / 0.8302 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23): time 0.001404/0.472, allocations: 0.896 MB / 0.8311 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.472, allocations: 84.41 kB / 0.8312 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.4721, allocations: 217.5 kB / 0.8314 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.4722, allocations: 31.11 kB / 0.8314 GB, free: 17.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.4722, allocations: 175.4 kB / 0.8316 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.4722, allocations: 88.55 kB / 0.8317 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/0.4723, allocations: 63.81 kB / 0.8317 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.696e-05/0.4723, allocations: 330.1 kB / 0.832 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.4725, allocations: 130.6 kB / 0.8322 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.4726, allocations: 207.6 kB / 0.8324 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.4729, allocations: 369 kB / 0.8327 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4729, allocations: 2.422 kB / 0.8327 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005089/0.4734, allocations: 0.5065 MB / 0.8332 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.4734, allocations: 7.031 kB / 0.8332 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4734, allocations: 2.938 kB / 0.8332 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002977/0.4737, allocations: 154.7 kB / 0.8334 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.4739, allocations: 57.89 kB / 0.8334 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.4753, allocations: 3.997 MB / 0.8373 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.296e-05/0.4754, allocations: 17.91 kB / 0.8373 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.4754, allocations: 16.34 kB / 0.8373 GB, free: 12.48 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 9.643e-05/0.4755, allocations: 165.2 kB / 0.8375 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.4755, allocations: 18.22 kB / 0.8375 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005037/0.476, allocations: 474.5 kB / 0.838 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.476, allocations: 3.938 kB / 0.838 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.476, allocations: 5.375 kB / 0.838 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.476, allocations: 1.5 kB / 0.838 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009197/0.4769, allocations: 0.9713 MB / 0.8389 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4769, allocations: 2.047 kB / 0.8389 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.949e-05/0.477, allocations: 39.34 kB / 0.839 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002112/0.4772, allocations: 155.1 kB / 0.8391 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.4772, allocations: 5.391 kB / 0.8391 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.4784, allocations: 3.957 MB / 0.843 GB, free: 7.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4784, allocations: 6.531 kB / 0.843 GB, free: 7.648 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.4789, allocations: 0.6153 MB / 0.8436 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.4789, allocations: 49.39 kB / 0.8436 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.479, allocations: 12.98 kB / 0.8437 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.4791, allocations: 18.89 kB / 0.8437 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.4791, allocations: 31.05 kB / 0.8437 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.4791, allocations: 8.344 kB / 0.8437 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.488e-05/0.4792, allocations: 160.3 kB / 0.8439 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4792, allocations: 0 / 0.8439 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003038/0.4795, allocations: 89.73 kB / 0.844 GB, free: 7.047 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.4797, allocations: 139.6 kB / 0.8441 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005513/0.4802, allocations: 0.5654 MB / 0.8446 GB, free: 6.598 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4802, allocations: 4.062 kB / 0.8446 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.4805, allocations: 393 kB / 0.845 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.4808, allocations: 46.16 kB / 0.8451 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.4815, allocations: 0.6741 MB / 0.8457 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.4816, allocations: 0.7831 MB / 0.8465 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.4817, allocations: 26.23 kB / 0.8465 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.4817, allocations: 0 / 0.8465 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of Templates: time 0.007464/0.4892, allocations: 7.749 MB / 0.8541 GB, free: 3.609 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.609224393032491] Failed to read output from testmodel.py, exit status != 0: 0.4942237918730825 0.5029507529999999 0.034009968 Calling exit ...