Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 118 kB / 17.13 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 193.2 kB / 18.06 MB, free: 5.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04436/0.04436, allocations: 8.085 MB / 300 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.91 kB / 415.2 MB, free: 21.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07686/0.07809, allocations: 51.51 MB / 466.7 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003504/0.08163, allocations: 2.484 MB / 469.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003101/0.08475, allocations: 2.551 MB / 471.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.08488, allocations: 4 kB / 471.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004766/0.08537, allocations: 167 kB / 471.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006503/0.08605, allocations: 294.4 kB / 472.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.08821, allocations: 1.276 MB / 473.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.08873, allocations: 426.1 kB / 473.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.08894, allocations: 120.1 kB / 474 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.08912, allocations: 167.3 kB / 474.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.0894, allocations: 203.1 kB / 474.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.08947, allocations: 32 kB / 474.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005571/0.09003, allocations: 351.7 kB / 474.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.09014, allocations: 87.67 kB / 474.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.09031, allocations: 187 kB / 475 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007002/0.09102, allocations: 0.631 MB / 475.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.09103, allocations: 3.984 kB / 475.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09104, allocations: 4 kB / 475.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.09105, allocations: 4 kB / 475.6 MB, free: 9.141 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.00435/0.09541, allocations: 1.216 MB / 476.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.09545, allocations: 8.031 kB / 476.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.09558, allocations: 44.47 kB / 476.9 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.09599, allocations: 331.4 kB / 477.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.09605, allocations: 50.83 kB / 477.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/0.09612, allocations: 40.12 kB / 477.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.09684, allocations: 444.4 kB / 477.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.09686, allocations: 0 / 477.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.09691, allocations: 12 kB / 477.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.09693, allocations: 8 kB / 477.8 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.09751, allocations: 378.1 kB / 478.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.09981, allocations: 1.75 MB / 479.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000917/0.1007, allocations: 495 kB / 480.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003563/0.1011, allocations: 248.8 kB / 480.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/0.1012, allocations: 15.98 kB / 480.6 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005654/0.1018, allocations: 323.1 kB / 480.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.903e-06/0.1018, allocations: 4 kB / 480.9 MB, free: 3.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.004373/0.1061, allocations: 1.347 MB / 482.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.1062, allocations: 114.8 kB / 482.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.1066, allocations: 286.8 kB / 482.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.433e-05/0.1066, allocations: 37.7 kB / 482.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1068, allocations: 164.9 kB / 482.9 MB, free: 1.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1069, allocations: 141.9 kB / 483 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.1071, allocations: 90.23 kB / 483.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1072, allocations: 346.8 kB / 483.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.1076, allocations: 265 kB / 483.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.108, allocations: 308.7 kB / 484 MB, free: 360 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000851/0.1089, allocations: 0.5587 MB / 484.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1089, allocations: 8.031 kB / 484.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001979/0.1109, allocations: 0.9054 MB / 485.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1109, allocations: 11.94 kB / 485.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.111, allocations: 4 kB / 485.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/0.1137, allocations: 0.609 MB / 486.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.114, allocations: 71.91 kB / 486.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001641/0.1156, allocations: 1.075 MB / 487.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.116, allocations: 43.58 kB / 487.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.1161, allocations: 19.98 kB / 487.3 MB, free: 13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.1163, allocations: 161.7 kB / 487.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.1164, allocations: 35.56 kB / 487.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.1177, allocations: 0.774 MB / 488.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1178, allocations: 11.94 kB / 488.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1178, allocations: 0 / 488.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.1178, allocations: 7.969 kB / 488.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.1183, allocations: 0.5524 MB / 488.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1183, allocations: 4 kB / 488.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.1185, allocations: 55.91 kB / 488.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002628/0.1212, allocations: 0.5783 MB / 489.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.1212, allocations: 8 kB / 489.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.1228, allocations: 1.086 MB / 490.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.1229, allocations: 11.92 kB / 490.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.124, allocations: 0.7249 MB / 491.3 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.039e-05/0.1241, allocations: 116.6 kB / 491.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.1242, allocations: 12 kB / 491.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.1246, allocations: 24.23 kB / 491.5 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.1247, allocations: 32.39 kB / 491.5 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-05/0.1247, allocations: 12 kB / 491.5 MB, free: 8.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.1249, allocations: 205.9 kB / 491.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1249, allocations: 0 / 491.7 MB, free: 8.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004317/0.1254, allocations: 139.9 kB / 491.8 MB, free: 8.336 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009848/0.1264, allocations: 432.6 kB / 492.3 MB, free: 8.059 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.1282, allocations: 0.7202 MB / 493 MB, free: 7.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1282, allocations: 4 kB / 493 MB, free: 7.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.1295, allocations: 406.3 kB / 493.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.1299, allocations: 42.5 kB / 493.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.1313, allocations: 0.7737 MB / 494.2 MB, free: 6.094 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.1317, allocations: 0.7886 MB / 495 MB, free: 5.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1318, allocations: 43.41 kB / 495 MB, free: 5.227 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1318, allocations: 0 / 495 MB, free: 5.227 MB / 366.1 MB Notification: Performance of Templates: time 0.009932/0.1418, allocations: 7.066 MB / 0.4903 GB, free: 14.17 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1)