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.0008556/0.0008556, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009557/0.0009557, allocations: 169 kB / 23.27 MB, free: 1.223 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.9522/0.9522, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.7605/0.7605, allocations: 154.9 MB / 415.1 MB, free: 256 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.613e-06/1.613e-06, allocations: 0 / 0.5211 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.208e-05, allocations: 4 kB / 0.5211 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.006457/0.00648, allocations: 2.577 MB / 0.5236 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005122/0.0116, allocations: 1.551 MB / 0.5251 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.01172, allocations: 11.88 kB / 0.5251 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004968/0.01222, allocations: 133.4 kB / 0.5253 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.01252, allocations: 171.6 kB / 0.5254 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.01292, allocations: 248.9 kB / 0.5257 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002967/0.01321, allocations: 334.8 kB / 0.526 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/0.01646, allocations: 149 kB / 0.5261 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.0167, allocations: 192.5 kB / 0.5263 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.01705, allocations: 140.7 kB / 0.5264 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.01708, allocations: 20 kB / 0.5265 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.01747, allocations: 311.3 kB / 0.5268 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.01755, allocations: 96.39 kB / 0.5269 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.61e-05/0.01763, allocations: 87.75 kB / 0.5269 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.01806, allocations: 383.5 kB / 0.5273 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01806, allocations: 0 / 0.5273 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.92e-07/0.01806, allocations: 0.75 kB / 0.5273 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.01806, allocations: 0 / 0.5273 GB, free: 11.22 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.0006034/0.01867, allocations: 0.5786 MB / 0.5279 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.0187, allocations: 10.75 kB / 0.5279 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00361/0.02231, allocations: 152.4 kB / 0.528 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.02255, allocations: 211 kB / 0.5282 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.02256, allocations: 14.16 kB / 0.5282 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.02259, allocations: 16.38 kB / 0.5283 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.02289, allocations: 282 kB / 0.5285 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.0229, allocations: 192 / 0.5285 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.02292, allocations: 4.938 kB / 0.5285 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.02296, allocations: 32.92 kB / 0.5286 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.02312, allocations: 100.3 kB / 0.5287 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.02465, allocations: 1.379 MB / 0.53 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.02487, allocations: 154.1 kB / 0.5302 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.02493, allocations: 50.03 kB / 0.5302 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.02498, allocations: 15.98 kB / 0.5302 GB, free: 8.059 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.025, allocations: 41.39 kB / 0.5303 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.025, allocations: 0 / 0.5303 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.004139/0.02914, allocations: 474.7 kB / 0.5307 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.02918, allocations: 85.11 kB / 0.5308 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.02933, allocations: 243.5 kB / 0.531 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.02935, allocations: 34.36 kB / 0.5311 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.02945, allocations: 227.1 kB / 0.5313 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/0.0295, allocations: 86.77 kB / 0.5314 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.02959, allocations: 63.33 kB / 0.5314 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.02973, allocations: 0.5078 MB / 0.5319 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.02979, allocations: 35.97 kB / 0.5319 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.02992, allocations: 160.3 kB / 0.5321 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.03014, allocations: 215 kB / 0.5323 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.03014, allocations: 0 / 0.5323 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004661/0.03061, allocations: 319.8 kB / 0.5326 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.03062, allocations: 4 kB / 0.5326 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.03063, allocations: 6.344 kB / 0.5326 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004011/0.03103, allocations: 154.4 kB / 0.5328 GB, free: 5.238 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/0.03418, allocations: 51.92 kB / 0.5328 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005954/0.04013, allocations: 6.01 MB / 0.5387 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.04024, allocations: 8.562 kB / 0.5387 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.04025, allocations: 9.5 kB / 0.5387 GB, free: 14.79 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.04036, allocations: 185.6 kB / 0.5389 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.04042, allocations: 23.86 kB / 0.5389 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004294/0.04085, allocations: 291.4 kB / 0.5392 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.04085, allocations: 9.469 kB / 0.5392 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.04086, allocations: 0 / 0.5392 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.04086, allocations: 0 / 0.5392 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008435/0.0417, allocations: 0.6971 MB / 0.5399 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.04171, allocations: 3.938 kB / 0.5399 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.04178, allocations: 29.05 kB / 0.5399 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003253/0.04211, allocations: 138 kB / 0.54 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.04212, allocations: 9.062 kB / 0.54 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005918/0.04804, allocations: 6.063 MB / 0.546 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.04804, allocations: 3.938 kB / 0.546 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.04854, allocations: 0.5926 MB / 0.5465 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.04861, allocations: 45.17 kB / 0.5466 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.04863, allocations: 8 kB / 0.5466 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.04878, allocations: 8 kB / 0.5466 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.04882, allocations: 34.05 kB / 0.5466 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.04883, allocations: 8 kB / 0.5466 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.428e-05/0.04892, allocations: 172.1 kB / 0.5468 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.04892, allocations: 0 / 0.5468 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003446/0.05236, allocations: 95.94 kB / 0.5469 GB, free: 5.836 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.05254, allocations: 150.7 kB / 0.547 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000552/0.05309, allocations: 0.6833 MB / 0.5477 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.05309, allocations: 0 / 0.5477 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.05342, allocations: 0.5859 MB / 0.5483 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.05384, allocations: 52.47 kB / 0.5483 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009586/0.0548, allocations: 0.5771 MB / 0.5489 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.656e-05/0.0549, allocations: 112.1 kB / 0.549 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001214/0.05611, allocations: 27.7 kB / 0.549 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.05626, allocations: 114.2 kB / 0.5491 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/0.05626, allocations: 0 / 0.5491 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of Templates: time 0.01026/0.06652, allocations: 4.749 MB / 0.5538 GB, free: 14.77 MB / 0.5261 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: 3.800259295850992]