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.0008051/0.0008054, allocations: 84.19 kB / 15.75 MB, free: 416 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.0008361/0.0008361, allocations: 177 kB / 16.63 MB, free: 6.887 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.454/1.454, allocations: 223.3 MB / 240.7 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2205/0.2205, allocations: 8.087 MB / 299.8 MB, free: 2.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003863, allocations: 12 kB / 362.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1374, allocations: 52.52 MB / 415.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002807/0.1403, allocations: 2.008 MB / 417.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.1437, allocations: 2.411 MB / 419.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.1439, allocations: 4 kB / 419.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.1444, allocations: 127.4 kB / 419.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006389/0.1451, allocations: 238.8 kB / 420.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.1468, allocations: 1.036 MB / 421.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004533/0.1472, allocations: 370.3 kB / 421.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.1475, allocations: 94.27 kB / 421.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.1476, allocations: 143.4 kB / 421.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.1479, allocations: 183.2 kB / 422 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.1479, allocations: 16 kB / 422 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.1484, allocations: 307.7 kB / 422.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.78e-05/0.1485, allocations: 67.69 kB / 422.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.703e-05/0.1486, allocations: 89.52 kB / 422.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.1491, allocations: 454.8 kB / 422.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1491, allocations: 0 / 422.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1491, allocations: 4 kB / 422.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1492, allocations: 0 / 422.9 MB, free: 1.188 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.2762/0.4254, allocations: 1.168 MB / 424.1 MB, free: 41.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.4254, allocations: 9.812 kB / 424.1 MB, free: 41.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.4257, allocations: 49.08 kB / 424.1 MB, free: 41.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/0.4262, allocations: 314.7 kB / 424.4 MB, free: 41.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.4263, allocations: 58.23 kB / 424.5 MB, free: 41.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.4264, allocations: 31.69 kB / 424.5 MB, free: 41.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.4271, allocations: 439.9 kB / 424.9 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.4272, allocations: 0 / 424.9 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.4272, allocations: 18.53 kB / 425 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.4272, allocations: 9.078 kB / 425 MB, free: 41.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005509/0.4278, allocations: 378.4 kB / 425.3 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.4299, allocations: 1.754 MB / 427.1 MB, free: 40.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/0.4307, allocations: 0.4917 MB / 427.6 MB, free: 40.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.431, allocations: 252.8 kB / 427.8 MB, free: 40.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/0.4311, allocations: 11.45 kB / 427.8 MB, free: 40.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.4316, allocations: 320.9 kB / 428.1 MB, free: 40.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.4316, allocations: 0 / 428.1 MB, free: 40.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003511/0.4352, allocations: 1.347 MB / 429.5 MB, free: 39.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.4352, allocations: 108.2 kB / 429.6 MB, free: 39.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.4355, allocations: 288.7 kB / 429.9 MB, free: 39.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.4356, allocations: 39.89 kB / 429.9 MB, free: 39.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.4357, allocations: 167.7 kB / 430.1 MB, free: 39.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/0.4358, allocations: 141.8 kB / 430.2 MB, free: 39.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.4358, allocations: 10.34 kB / 430.2 MB, free: 39.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.4359, allocations: 345.2 kB / 430.6 MB, free: 39.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.4363, allocations: 258.1 kB / 430.8 MB, free: 39.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.4367, allocations: 307.5 kB / 431.1 MB, free: 39.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.4371, allocations: 284.6 kB / 431.4 MB, free: 39.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.4371, allocations: 3.25 kB / 431.4 MB, free: 39.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001757/0.4389, allocations: 0.909 MB / 432.3 MB, free: 38.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4389, allocations: 3.219 kB / 432.3 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4389, allocations: 0.8906 kB / 432.3 MB, free: 38.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/0.4412, allocations: 0.6033 MB / 432.9 MB, free: 38.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.4415, allocations: 79.38 kB / 433 MB, free: 38.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.4428, allocations: 1.074 MB / 434.1 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.4432, allocations: 44.64 kB / 434.1 MB, free: 37.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.4432, allocations: 14.53 kB / 434.1 MB, free: 37.96 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 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.4434, allocations: 160.1 kB / 434.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.4435, allocations: 34.69 kB / 434.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.4447, allocations: 0.786 MB / 435.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.4447, allocations: 6.219 kB / 435.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4447, allocations: 6.797 kB / 435.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.4447, allocations: 3.422 kB / 435.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.4452, allocations: 0.5608 MB / 435.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4452, allocations: 0.5 kB / 435.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.4454, allocations: 49.92 kB / 435.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002058/0.4474, allocations: 0.5983 MB / 436.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.4475, allocations: 7.938 kB / 436.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.4487, allocations: 1.075 MB / 437.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4487, allocations: 0 / 437.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000965/0.4497, allocations: 0.7384 MB / 438.2 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.4498, allocations: 122 kB / 438.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.4499, allocations: 7.719 kB / 438.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.4501, allocations: 29.77 kB / 438.3 MB, free: 35.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-05/0.4502, allocations: 31.16 kB / 438.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.4503, allocations: 14.03 kB / 438.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.4505, allocations: 199.8 kB / 438.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4505, allocations: 4 kB / 438.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004495/0.451, allocations: 134.8 kB / 438.7 MB, free: 35.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009884/0.452, allocations: 431 kB / 439.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.4535, allocations: 0.7084 MB / 439.8 MB, free: 35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4535, allocations: 0 / 439.8 MB, free: 35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009708/0.4545, allocations: 396 kB / 440.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.4549, allocations: 56.17 kB / 440.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.4562, allocations: 0.8788 MB / 441.1 MB, free: 34.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.4564, allocations: 0.7925 MB / 441.9 MB, free: 33.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.4566, allocations: 56.66 kB / 442 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/0.4567, allocations: 41.31 kB / 442 MB, free: 33.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4567, allocations: 0 / 442 MB, free: 33.57 MB / 350.1 MB Notification: Performance of Templates: time 0.0112/0.4679, allocations: 7.223 MB / 449.2 MB, free: 33.06 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: