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.001275/0.001275, allocations: 119.5 kB / 17.13 MB, free: 5.918 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.001131/0.001131, allocations: 189.2 kB / 18.06 MB, free: 5 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.305/1.305, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04461/0.04461, allocations: 8.097 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 63.91 kB / 415.1 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07574/0.07693, allocations: 51.52 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003573/0.08055, allocations: 2.477 MB / 469.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00309/0.08365, allocations: 2.555 MB / 471.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.08378, allocations: 4 kB / 471.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004568/0.08425, allocations: 175 kB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006311/0.08491, allocations: 286.4 kB / 472.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.08717, allocations: 1.284 MB / 473.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004767/0.08765, allocations: 422.1 kB / 473.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.08788, allocations: 120.1 kB / 474 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.08804, allocations: 167.3 kB / 474.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.0883, allocations: 203.1 kB / 474.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.08835, allocations: 32 kB / 474.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005462/0.08891, allocations: 347.7 kB / 474.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.08903, allocations: 91.61 kB / 474.8 MB, free: 10 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.08922, allocations: 187 kB / 475 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007532/0.08998, allocations: 0.6349 MB / 475.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.09, allocations: 4 kB / 475.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09, allocations: 0 / 475.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.09002, allocations: 0 / 475.6 MB, free: 9.176 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.004245/0.09427, allocations: 1.22 MB / 476.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.09431, allocations: 15.89 kB / 476.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.09444, allocations: 40.47 kB / 476.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.09486, allocations: 327.4 kB / 477.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/0.09493, allocations: 54.83 kB / 477.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.095, allocations: 40.06 kB / 477.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.0957, allocations: 440.5 kB / 477.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.09573, allocations: 4 kB / 477.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.09578, allocations: 11.94 kB / 477.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.09579, allocations: 8 kB / 477.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.09637, allocations: 382.1 kB / 478.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.09871, allocations: 1.742 MB / 479.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/0.09966, allocations: 498.9 kB / 480.4 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.1, allocations: 256.8 kB / 480.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.894e-05/0.1001, allocations: 11.98 kB / 480.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005306/0.1006, allocations: 323.1 kB / 480.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.104e-06/0.1006, allocations: 0 / 480.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00423/0.1049, allocations: 1.351 MB / 482.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.105, allocations: 110.8 kB / 482.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.1053, allocations: 294.8 kB / 482.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.881e-05/0.1053, allocations: 33.7 kB / 482.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1054, allocations: 160.9 kB / 482.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1056, allocations: 141.9 kB / 483 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.1057, allocations: 94.23 kB / 483.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1059, allocations: 346.8 kB / 483.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.1063, allocations: 257 kB / 483.7 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.1067, allocations: 316.6 kB / 484 MB, free: 384 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008435/0.1075, allocations: 0.5548 MB / 484.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1076, allocations: 0 / 484.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001948/0.1095, allocations: 0.9171 MB / 485.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1095, allocations: 8 kB / 485.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1095, allocations: 0 / 485.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/0.1123, allocations: 0.613 MB / 486.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.1126, allocations: 75.91 kB / 486.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.1142, allocations: 1.068 MB / 487.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.1146, allocations: 43.58 kB / 487.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.1146, allocations: 19.98 kB / 487.3 MB, free: 13.04 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.0002133/0.1148, allocations: 165.7 kB / 487.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.1149, allocations: 31.62 kB / 487.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.1163, allocations: 0.7817 MB / 488.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1163, allocations: 4 kB / 488.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1163, allocations: 0 / 488.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1163, allocations: 3.938 kB / 488.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.1168, allocations: 0.5602 MB / 488.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1169, allocations: 3.984 kB / 488.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1171, allocations: 59.91 kB / 488.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002564/0.1196, allocations: 0.5783 MB / 489.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.461e-05/0.1197, allocations: 8 kB / 489.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.1212, allocations: 1.086 MB / 490.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1212, allocations: 3.938 kB / 490.6 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.1224, allocations: 0.7327 MB / 491.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.1225, allocations: 116.6 kB / 491.4 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.1226, allocations: 8 kB / 491.4 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.1229, allocations: 27.92 kB / 491.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/0.123, allocations: 28.39 kB / 491.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.123, allocations: 16 kB / 491.5 MB, free: 8.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.1233, allocations: 202 kB / 491.7 MB, free: 8.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1233, allocations: 0 / 491.7 MB, free: 8.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.1237, allocations: 135.9 kB / 491.8 MB, free: 8.367 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.0009222/0.1246, allocations: 425.2 kB / 492.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.1264, allocations: 0.728 MB / 493 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1264, allocations: 0 / 493 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/0.1277, allocations: 402.4 kB / 493.4 MB, free: 6.973 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1281, allocations: 48.8 kB / 493.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.1295, allocations: 0.784 MB / 494.2 MB, free: 6.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1299, allocations: 0.7886 MB / 495 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.13, allocations: 47.41 kB / 495 MB, free: 5.242 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.13, allocations: 0 / 495 MB, free: 5.242 MB / 366.1 MB Notification: Performance of Templates: time 0.009399/0.1394, allocations: 7.061 MB / 0.4903 GB, free: 14.19 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)