Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009725/0.0009725, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009581/0.0009581, allocations: 177 kB / 23.5 MB, free: 1.055 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.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.27 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-545:108: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-545:116: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.8912/0.8912, allocations: 154.6 MB / 414.9 MB, free: 0.6406 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.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.558e-06/4.558e-06, allocations: 4 kB / 0.5203 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.109e-05/4.565e-05, allocations: 2.859 kB / 0.5203 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00552/0.005566, allocations: 3.143 MB / 0.5234 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003404/0.00897, allocations: 1.958 MB / 0.5253 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001745/0.009144, allocations: 4 kB / 0.5253 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009857/0.01013, allocations: 286.8 kB / 0.5256 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0005472/0.01068, allocations: 204.4 kB / 0.5258 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007265/0.0114, allocations: 259.9 kB / 0.526 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.01185, allocations: 335.9 kB / 0.5263 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.0122, allocations: 149 kB / 0.5265 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.0125, allocations: 187.5 kB / 0.5267 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.01283, allocations: 140.2 kB / 0.5268 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.01287, allocations: 21.03 kB / 0.5268 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005806/0.01345, allocations: 387 kB / 0.5272 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.01356, allocations: 97.28 kB / 0.5273 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.01367, allocations: 83.77 kB / 0.5274 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006536/0.01433, allocations: 422.7 kB / 0.5278 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.01433, allocations: 0 / 0.5278 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01433, allocations: 1.188 kB / 0.5278 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.01434, allocations: 0 / 0.5278 GB, free: 10.93 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.0009417/0.01528, allocations: 0.5939 MB / 0.5283 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.01533, allocations: 8.031 kB / 0.5283 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009258/0.01625, allocations: 165.7 kB / 0.5285 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.01661, allocations: 213 kB / 0.5287 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.01663, allocations: 12.88 kB / 0.5287 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.01667, allocations: 29.06 kB / 0.5287 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/0.01714, allocations: 298.1 kB / 0.529 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.01715, allocations: 0.9062 kB / 0.529 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.01719, allocations: 12.36 kB / 0.529 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/0.01724, allocations: 31.17 kB / 0.5291 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.01756, allocations: 122.8 kB / 0.5292 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.0193, allocations: 1.394 MB / 0.5306 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.01967, allocations: 182 kB / 0.5307 GB, free: 7.707 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.0198, allocations: 51.36 kB / 0.5308 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.267e-05/0.01987, allocations: 13.48 kB / 0.5308 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.01991, allocations: 41.39 kB / 0.5308 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.01991, allocations: 0 / 0.5308 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.001772/0.02168, allocations: 0.5471 MB / 0.5314 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.02173, allocations: 89.05 kB / 0.5314 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.02199, allocations: 249.5 kB / 0.5317 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.02201, allocations: 33.7 kB / 0.5317 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.02213, allocations: 227.1 kB / 0.5319 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.53e-05/0.0222, allocations: 79.33 kB / 0.532 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.0223, allocations: 67.31 kB / 0.5321 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.02247, allocations: 0.5102 MB / 0.5326 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.0226, allocations: 47.97 kB / 0.5326 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.02279, allocations: 169 kB / 0.5328 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.02312, allocations: 242.8 kB / 0.533 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.02313, allocations: 0 / 0.533 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007659/0.02389, allocations: 334.5 kB / 0.5333 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.02391, allocations: 8 kB / 0.5333 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.02392, allocations: 0.6562 kB / 0.5333 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005783/0.02449, allocations: 146.2 kB / 0.5335 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.02472, allocations: 60.5 kB / 0.5335 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.02792, allocations: 5.121 MB / 0.5385 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.0281, allocations: 15.98 kB / 0.5386 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.02813, allocations: 16 kB / 0.5386 GB, free: 15.17 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.0001587/0.02829, allocations: 174.2 kB / 0.5387 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/0.02838, allocations: 31.86 kB / 0.5388 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.02904, allocations: 296.7 kB / 0.539 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.02905, allocations: 4 kB / 0.5391 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.02905, allocations: 0 / 0.5391 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.02906, allocations: 3.984 kB / 0.5391 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.03031, allocations: 0.7423 MB / 0.5398 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.03032, allocations: 4 kB / 0.5398 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.03044, allocations: 31.97 kB / 0.5398 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.03087, allocations: 130.6 kB / 0.5399 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.03089, allocations: 8 kB / 0.5399 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003029/0.03392, allocations: 5.11 MB / 0.5449 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.03393, allocations: 4 kB / 0.5449 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.03463, allocations: 0.59 MB / 0.5455 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.03474, allocations: 47.83 kB / 0.5456 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.03477, allocations: 9.625 kB / 0.5456 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.03499, allocations: 19.97 kB / 0.5456 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.03505, allocations: 19.97 kB / 0.5456 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.03507, allocations: 15.94 kB / 0.5456 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001439/0.03522, allocations: 184.2 kB / 0.5458 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.03522, allocations: 0 / 0.5458 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005595/0.03578, allocations: 95.86 kB / 0.5459 GB, free: 7.164 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.0002849/0.03606, allocations: 146.1 kB / 0.546 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000904/0.03696, allocations: 0.5501 MB / 0.5466 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.03697, allocations: 0.5 kB / 0.5466 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004802/0.03745, allocations: 458 kB / 0.547 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.03805, allocations: 49.92 kB / 0.5471 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.03949, allocations: 0.5749 MB / 0.5476 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.782e-05/0.03958, allocations: 108.2 kB / 0.5477 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.03969, allocations: 48.69 kB / 0.5478 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.03973, allocations: 24.44 kB / 0.5478 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of SimCode: time 9.61e-07/0.03973, allocations: 0 / 0.5478 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of Templates: time 0.006713/0.04644, allocations: 4.222 MB / 0.5519 GB, free: 1.023 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.130364093929529]