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.001818/0.001818, allocations: 88.72 kB / 19.44 MB, free: 356 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.002069/0.002069, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.258 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-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 master/package.mo): time 1.231/1.231, allocations: 154.8 MB / 414.3 MB, free: 424 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5198 GB, free: 2.328 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.104e-05, allocations: 2.969 kB / 0.5198 GB, free: 2.324 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005284/0.005315, allocations: 3.016 MB / 0.5228 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003764/0.009079, allocations: 1.874 MB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.009219, allocations: 7.938 kB / 0.5246 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.01027, allocations: 292.6 kB / 0.5249 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005556/0.01083, allocations: 196.6 kB / 0.5251 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.01153, allocations: 256.1 kB / 0.5253 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.012, allocations: 334.8 kB / 0.5256 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.01234, allocations: 153.8 kB / 0.5258 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003346/0.01267, allocations: 187.5 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.01298, allocations: 144.8 kB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.01302, allocations: 20 kB / 0.5261 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006667/0.01369, allocations: 379.8 kB / 0.5265 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.01381, allocations: 91.73 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.01394, allocations: 84.44 kB / 0.5267 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007822/0.01472, allocations: 0.5218 MB / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01472, allocations: 1.062 kB / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01473, allocations: 0 / 0.5272 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.01473, allocations: 4.688 kB / 0.5272 GB, free: 10.8 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00102/0.01575, allocations: 493.9 kB / 0.5276 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.01579, allocations: 8.031 kB / 0.5276 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009518/0.01674, allocations: 179.7 kB / 0.5278 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.01712, allocations: 214 kB / 0.528 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.01714, allocations: 12.88 kB / 0.528 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.596e-05/0.01719, allocations: 24.36 kB / 0.5281 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/0.01785, allocations: 397.9 kB / 0.5284 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.01786, allocations: 4.125 kB / 0.5284 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.0179, allocations: 12.94 kB / 0.5285 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/0.01795, allocations: 24.42 kB / 0.5285 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.01847, allocations: 294.7 kB / 0.5288 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.02084, allocations: 1.242 MB / 0.53 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000587/0.02142, allocations: 237.1 kB / 0.5302 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.02162, allocations: 103.9 kB / 0.5303 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-05/0.02171, allocations: 15.94 kB / 0.5303 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.02175, allocations: 35.59 kB / 0.5303 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.02175, allocations: 0 / 0.5303 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.002882/0.02463, allocations: 0.9033 MB / 0.5312 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.0247, allocations: 77.11 kB / 0.5313 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.02497, allocations: 216.6 kB / 0.5315 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.025, allocations: 29.7 kB / 0.5315 GB, free: 6.121 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.02514, allocations: 168.5 kB / 0.5317 GB, free: 5.953 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.02523, allocations: 97.28 kB / 0.5318 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.02535, allocations: 57.7 kB / 0.5318 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000211/0.02556, allocations: 334.8 kB / 0.5322 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.02579, allocations: 131.8 kB / 0.5323 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.02609, allocations: 209.3 kB / 0.5325 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.02665, allocations: 362.8 kB / 0.5328 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.02665, allocations: 4 kB / 0.5328 GB, free: 4.707 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001039/0.02769, allocations: 0.5241 MB / 0.5333 GB, free: 4.168 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.02771, allocations: 5.562 kB / 0.5334 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.02772, allocations: 4 kB / 0.5334 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007643/0.02849, allocations: 179.5 kB / 0.5335 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.02877, allocations: 63.89 kB / 0.5336 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004074/0.03284, allocations: 3.935 MB / 0.5374 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.03309, allocations: 28 kB / 0.5375 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.03311, allocations: 8 kB / 0.5375 GB, free: 15.69 MB / 0.5105 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 0.0002507/0.03337, allocations: 167.8 kB / 0.5376 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.03345, allocations: 19.91 kB / 0.5376 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.03459, allocations: 489.1 kB / 0.5381 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.03459, allocations: 4 kB / 0.5381 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.0346, allocations: 0 / 0.5381 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.0346, allocations: 3.984 kB / 0.5381 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.03636, allocations: 0.8902 MB / 0.539 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.03636, allocations: 4 kB / 0.539 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.03651, allocations: 31.92 kB / 0.539 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006136/0.03712, allocations: 165.8 kB / 0.5392 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.03714, allocations: 8.906 kB / 0.5392 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003983/0.04113, allocations: 3.91 MB / 0.543 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.04113, allocations: 0 / 0.543 GB, free: 9.672 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.04219, allocations: 0.6348 MB / 0.5436 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.04232, allocations: 47.83 kB / 0.5437 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.04236, allocations: 8 kB / 0.5437 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.04259, allocations: 25.19 kB / 0.5437 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.04266, allocations: 19.91 kB / 0.5437 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.04268, allocations: 15.94 kB / 0.5437 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001727/0.04286, allocations: 148.2 kB / 0.5439 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.04286, allocations: 0 / 0.5439 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000583/0.04344, allocations: 95.92 kB / 0.544 GB, free: 8.633 MB / 0.5105 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.0002827/0.04372, allocations: 145.6 kB / 0.5441 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.04482, allocations: 0.5624 MB / 0.5447 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.04483, allocations: 2.562 kB / 0.5447 GB, free: 7.898 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.04559, allocations: 398.7 kB / 0.545 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.04615, allocations: 34.61 kB / 0.5451 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.04745, allocations: 0.6265 MB / 0.5457 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.04769, allocations: 183.2 kB / 0.5459 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001772/0.04787, allocations: 58.84 kB / 0.5459 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.04793, allocations: 25.27 kB / 0.5459 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of SimCode: time 8.52e-07/0.04794, allocations: 0 / 0.5459 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of Templates: time 0.009963/0.0579, allocations: 4.186 MB / 0.55 GB, free: 2.492 MB / 0.5105 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.058747468981892]