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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001006/0.001006, allocations: 102.2 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 180.1 kB / 16.96 MB, free: 6.879 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.534/1.534, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2497/0.2497, allocations: 8.08 MB / 300.2 MB, free: 2.984 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003371, allocations: 8 kB / 363.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 52.51 MB / 416 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003082/0.1279, allocations: 2.131 MB / 418.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004211/0.1321, allocations: 2.504 MB / 420.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003594/0.1325, allocations: 8 kB / 420.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.1331, allocations: 143.4 kB / 420.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.1342, allocations: 262.7 kB / 421 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.1367, allocations: 1.226 MB / 422.3 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007247/0.1374, allocations: 394.2 kB / 422.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.1377, allocations: 111.9 kB / 422.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.1381, allocations: 143.4 kB / 422.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.1385, allocations: 191.1 kB / 423.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.992e-05/0.1386, allocations: 16 kB / 423.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007453/0.1393, allocations: 327.7 kB / 423.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1394, allocations: 63.75 kB / 423.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.1397, allocations: 200.7 kB / 423.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009534/0.1406, allocations: 0.5997 MB / 424.3 MB, free: 88 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1406, allocations: 4 kB / 424.3 MB, free: 84 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1407, allocations: 0 / 424.3 MB, free: 84 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.1407, allocations: 0 / 424.3 MB, free: 84 kB / 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.2428/0.3835, allocations: 1.165 MB / 425.4 MB, free: 41.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3835, allocations: 11.31 kB / 425.5 MB, free: 41.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.3837, allocations: 41.28 kB / 425.5 MB, free: 41.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.3841, allocations: 325.9 kB / 425.8 MB, free: 41.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/0.3842, allocations: 52.83 kB / 425.9 MB, free: 41.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.3842, allocations: 33.34 kB / 425.9 MB, free: 41.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.3849, allocations: 445.5 kB / 426.3 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.385, allocations: 7.219 kB / 426.3 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.385, allocations: 12.06 kB / 426.3 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.385, allocations: 6.688 kB / 426.4 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/0.3856, allocations: 389.5 kB / 426.7 MB, free: 41.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.3876, allocations: 1.756 MB / 428.5 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008556/0.3885, allocations: 499.5 kB / 429 MB, free: 40.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.3888, allocations: 253.4 kB / 429.2 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.674e-05/0.3889, allocations: 16.36 kB / 429.2 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004819/0.3894, allocations: 328.6 kB / 429.6 MB, free: 40.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.924e-06/0.3894, allocations: 0 / 429.6 MB, free: 40.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003946/0.3933, allocations: 1.349 MB / 430.9 MB, free: 40.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.3934, allocations: 116.8 kB / 431 MB, free: 40.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.3937, allocations: 286.2 kB / 431.3 MB, free: 40.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.3938, allocations: 36.61 kB / 431.3 MB, free: 40.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.3939, allocations: 161.1 kB / 431.5 MB, free: 39.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.394, allocations: 149.2 kB / 431.6 MB, free: 39.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.3941, allocations: 47.41 kB / 431.7 MB, free: 39.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.675e-05/0.3942, allocations: 347.9 kB / 432 MB, free: 39.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/0.3946, allocations: 255.1 kB / 432.3 MB, free: 39.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.3949, allocations: 315.4 kB / 432.6 MB, free: 39.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007976/0.3957, allocations: 0.5588 MB / 433.1 MB, free: 39.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3957, allocations: 0 / 433.1 MB, free: 39.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001726/0.3975, allocations: 0.9223 MB / 434.1 MB, free: 39.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3975, allocations: 6.375 kB / 434.1 MB, free: 39.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3975, allocations: 0.5625 kB / 434.1 MB, free: 39.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/0.4, allocations: 0.6133 MB / 434.7 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.4003, allocations: 75.8 kB / 434.8 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.4018, allocations: 1.073 MB / 435.8 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.4021, allocations: 47.02 kB / 435.9 MB, free: 38.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.4022, allocations: 18.11 kB / 435.9 MB, free: 38.11 MB / 350.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.0001975/0.4024, allocations: 160.8 kB / 436.1 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.4025, allocations: 38.95 kB / 436.1 MB, free: 37.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.4036, allocations: 0.7816 MB / 436.9 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.4037, allocations: 9.906 kB / 436.9 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4037, allocations: 0 / 436.9 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4037, allocations: 0 / 436.9 MB, free: 37.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.4042, allocations: 0.5695 MB / 437.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.4042, allocations: 0 / 437.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.4044, allocations: 53.75 kB / 437.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002448/0.4068, allocations: 0.588 MB / 438.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.4069, allocations: 11.41 kB / 438.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.4083, allocations: 1.082 MB / 439.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4083, allocations: 0.5 kB / 439.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4093, allocations: 0.7436 MB / 439.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.4094, allocations: 120.1 kB / 440.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.4095, allocations: 7.25 kB / 440.1 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.4098, allocations: 26.16 kB / 440.1 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.4099, allocations: 37.05 kB / 440.1 MB, free: 35.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.41, allocations: 13.59 kB / 440.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.4102, allocations: 208.7 kB / 440.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4102, allocations: 0 / 440.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004374/0.4106, allocations: 136.2 kB / 440.5 MB, free: 35.56 MB / 350.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.0009125/0.4115, allocations: 419.3 kB / 440.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.4132, allocations: 0.7032 MB / 441.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4132, allocations: 4 kB / 441.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.4143, allocations: 402.7 kB / 442 MB, free: 35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.4147, allocations: 52.14 kB / 442 MB, free: 34.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.4161, allocations: 0.9046 MB / 442.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.4164, allocations: 0.7859 MB / 443.7 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002053/0.4166, allocations: 65.36 kB / 443.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.049e-05/0.4167, allocations: 40.14 kB / 443.8 MB, free: 33.69 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4167, allocations: 0 / 443.8 MB, free: 33.69 MB / 350.1 MB Notification: Performance of Templates: time 0.01109/0.4278, allocations: 7.439 MB / 451.3 MB, free: 33.19 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: