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.001133/0.001133, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001411/0.001411, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.088/1.088, allocations: 177.1 MB / 204.5 MB, free: 5.473 MB / 186.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-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 0.8096/0.8096, allocations: 154.9 MB / 415.9 MB, free: 244 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 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.572e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003427/0.003453, allocations: 2.586 MB / 0.5244 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.005456, allocations: 1.543 MB / 0.5259 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.005659, allocations: 11.94 kB / 0.5259 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.006167, allocations: 135.3 kB / 0.526 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003041/0.006471, allocations: 172.5 kB / 0.5262 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.0069, allocations: 244.7 kB / 0.5264 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.007189, allocations: 335.7 kB / 0.5268 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.007419, allocations: 145.1 kB / 0.5269 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.007646, allocations: 196.9 kB / 0.5271 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.007868, allocations: 143.6 kB / 0.5272 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.007895, allocations: 20 kB / 0.5272 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.008219, allocations: 312.4 kB / 0.5275 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.266e-05/0.008302, allocations: 91.73 kB / 0.5276 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.008372, allocations: 83.81 kB / 0.5277 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.008768, allocations: 386.7 kB / 0.5281 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.008771, allocations: 4.688 kB / 0.5281 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.21e-07/0.008772, allocations: 1.281 kB / 0.5281 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.008776, allocations: 0 / 0.5281 GB, free: 11.16 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.0005124/0.009289, allocations: 0.5827 MB / 0.5287 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.009318, allocations: 8.031 kB / 0.5287 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004563/0.009774, allocations: 145.1 kB / 0.5288 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.009984, allocations: 209.3 kB / 0.529 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.009998, allocations: 12.88 kB / 0.529 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.01002, allocations: 24.38 kB / 0.529 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.01029, allocations: 271.8 kB / 0.5293 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.0103, allocations: 4.125 kB / 0.5293 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.01032, allocations: 16.36 kB / 0.5293 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.01035, allocations: 24.42 kB / 0.5293 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.01048, allocations: 106.6 kB / 0.5294 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.01153, allocations: 1.374 MB / 0.5308 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.01174, allocations: 150.1 kB / 0.5309 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.01179, allocations: 47.34 kB / 0.531 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.01183, allocations: 15.94 kB / 0.531 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.01185, allocations: 37.38 kB / 0.531 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.01185, allocations: 1.406 kB / 0.531 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001031/0.01288, allocations: 474.3 kB / 0.5315 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.01291, allocations: 81.61 kB / 0.5316 GB, free: 7.383 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.01305, allocations: 249.6 kB / 0.5318 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.01307, allocations: 33.7 kB / 0.5318 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.959e-05/0.01316, allocations: 223.1 kB / 0.532 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.0132, allocations: 83.31 kB / 0.5321 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.01327, allocations: 59.34 kB / 0.5322 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.01342, allocations: 0.5156 MB / 0.5327 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.01347, allocations: 38.41 kB / 0.5327 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.01358, allocations: 152.3 kB / 0.5329 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.01376, allocations: 214.6 kB / 0.5331 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01376, allocations: 4 kB / 0.5331 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003591/0.01412, allocations: 312.5 kB / 0.5334 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01413, allocations: 8 kB / 0.5334 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.01414, allocations: 0 / 0.5334 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/0.01446, allocations: 143.9 kB / 0.5335 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.01458, allocations: 47.92 kB / 0.5336 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.01654, allocations: 5.043 MB / 0.5385 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.595e-05/0.01664, allocations: 11.94 kB / 0.5385 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.01665, allocations: 10.44 kB / 0.5385 GB, free: 15.82 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.0001025/0.01676, allocations: 172.5 kB / 0.5387 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.01681, allocations: 27.91 kB / 0.5387 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.01717, allocations: 287.4 kB / 0.539 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01717, allocations: 4 kB / 0.539 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.01718, allocations: 0 / 0.539 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.01718, allocations: 9.328 kB / 0.539 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.01786, allocations: 0.6746 MB / 0.5396 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01786, allocations: 1.469 kB / 0.5396 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.01792, allocations: 31.92 kB / 0.5397 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/0.01818, allocations: 127.3 kB / 0.5398 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.01819, allocations: 8 kB / 0.5398 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.02011, allocations: 5.05 MB / 0.5447 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.02012, allocations: 4 kB / 0.5447 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.02055, allocations: 0.5728 MB / 0.5453 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.02061, allocations: 43.83 kB / 0.5453 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.02063, allocations: 8 kB / 0.5453 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.02073, allocations: 4.781 kB / 0.5453 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.02077, allocations: 35.83 kB / 0.5454 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.02078, allocations: 9.438 kB / 0.5454 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.69e-05/0.02086, allocations: 176.1 kB / 0.5456 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02086, allocations: 3.938 kB / 0.5456 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003199/0.02118, allocations: 95.88 kB / 0.5457 GB, free: 8.02 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.0001592/0.02133, allocations: 145.1 kB / 0.5458 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.02178, allocations: 0.5188 MB / 0.5463 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02178, allocations: 2.594 kB / 0.5463 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.02205, allocations: 440.2 kB / 0.5467 GB, free: 6.848 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.02236, allocations: 49.44 kB / 0.5468 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008317/0.02319, allocations: 0.567 MB / 0.5473 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.779e-05/0.02327, allocations: 106.7 kB / 0.5474 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.275e-05/0.02335, allocations: 28.88 kB / 0.5474 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.384e-05/0.02345, allocations: 107.4 kB / 0.5476 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/0.02345, allocations: 0 / 0.5476 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of Templates: time 0.00636/0.02981, allocations: 4.589 MB / 0.552 GB, free: 1.5 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.053692611400038]