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.004098/0.004098, allocations: 88.56 kB / 15.91 MB, free: 6.309 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.001034/0.001034, allocations: 199.7 kB / 16.83 MB, free: 6.238 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.199/1.199, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1431/0.1431, allocations: 8.082 MB / 298.7 MB, free: 2.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 59.84 kB / 361 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08894/0.08997, allocations: 51.53 MB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.003634/0.09364, allocations: 2.504 MB / 415.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.09683, allocations: 2.516 MB / 417.6 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.09699, allocations: 8 kB / 417.6 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004756/0.0975, allocations: 147.4 kB / 417.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005868/0.09809, allocations: 258.9 kB / 418 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.1, allocations: 1.264 MB / 419.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.1005, allocations: 390.3 kB / 419.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.1007, allocations: 107.9 kB / 419.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1008, allocations: 163.3 kB / 419.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.101, allocations: 191.1 kB / 420.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.1011, allocations: 27.94 kB / 420.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000541/0.1016, allocations: 331.7 kB / 420.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.391e-05/0.1017, allocations: 75.69 kB / 420.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.1019, allocations: 187 kB / 420.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006322/0.1026, allocations: 0.6154 MB / 421.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1026, allocations: 0 / 421.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1026, allocations: 0 / 421.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1026, allocations: 0 / 421.3 MB, free: 1.398 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.003986/0.1066, allocations: 1.224 MB / 422.5 MB, free: 128 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.1066, allocations: 8.031 kB / 422.5 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1067, allocations: 44.47 kB / 422.6 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.1072, allocations: 327.5 kB / 422.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/0.1072, allocations: 54.81 kB / 422.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.32e-05/0.1073, allocations: 36.12 kB / 423 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006486/0.1079, allocations: 440.4 kB / 423.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.108, allocations: 0 / 423.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.108, allocations: 12 kB / 423.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.108, allocations: 4 kB / 423.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005755/0.1086, allocations: 390.1 kB / 423.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.1107, allocations: 1.761 MB / 425.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008703/0.1116, allocations: 487 kB / 426 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.1119, allocations: 252.7 kB / 426.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.945e-05/0.112, allocations: 19.98 kB / 426.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005416/0.1126, allocations: 315.2 kB / 426.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.453e-06/0.1126, allocations: 0 / 426.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.003835/0.1164, allocations: 1.354 MB / 428 MB, free: 10.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.1165, allocations: 110.8 kB / 428.1 MB, free: 10.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1168, allocations: 282.9 kB / 428.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.1168, allocations: 37.7 kB / 428.4 MB, free: 9.922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.926e-05/0.1169, allocations: 168.8 kB / 428.6 MB, free: 9.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.117, allocations: 145.9 kB / 428.7 MB, free: 9.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.1172, allocations: 94.23 kB / 428.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1173, allocations: 342.8 kB / 429.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.1177, allocations: 253 kB / 429.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.1181, allocations: 312.6 kB / 429.7 MB, free: 8.602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/0.1188, allocations: 0.5547 MB / 430.2 MB, free: 8.047 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1188, allocations: 4.031 kB / 430.2 MB, free: 8.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001814/0.1207, allocations: 0.9209 MB / 431.2 MB, free: 7.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1207, allocations: 8 kB / 431.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1207, allocations: 0 / 431.2 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002524/0.1232, allocations: 0.6055 MB / 431.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.1235, allocations: 71.91 kB / 431.8 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.125, allocations: 1.078 MB / 432.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.1253, allocations: 43.58 kB / 433 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.1253, allocations: 19.94 kB / 433 MB, free: 5.258 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.000172/0.1255, allocations: 161.7 kB / 433.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.1256, allocations: 35.62 kB / 433.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.1268, allocations: 0.7818 MB / 434 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.1268, allocations: 4 kB / 434 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1268, allocations: 3.938 kB / 434 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1269, allocations: 4 kB / 434 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.1273, allocations: 0.5563 MB / 434.5 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1273, allocations: 4 kB / 434.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.1275, allocations: 47.98 kB / 434.6 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002469/0.13, allocations: 0.6 MB / 435.2 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.13, allocations: 8 kB / 435.2 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.1315, allocations: 1.081 MB / 436.3 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1315, allocations: 3.938 kB / 436.3 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1326, allocations: 0.7328 MB / 437 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.562e-05/0.1327, allocations: 116.6 kB / 437.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.1328, allocations: 8 kB / 437.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.133, allocations: 27.92 kB / 437.1 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.1331, allocations: 28.39 kB / 437.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.1332, allocations: 20 kB / 437.2 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.1334, allocations: 206 kB / 437.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1334, allocations: 0 / 437.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.1338, allocations: 135.8 kB / 437.5 MB, free: 0.5703 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.0008421/0.1346, allocations: 414.2 kB / 437.9 MB, free: 312 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.1321/0.2668, allocations: 0.7019 MB / 438.6 MB, free: 58.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.2668, allocations: 0 / 438.6 MB, free: 58.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.2679, allocations: 401.8 kB / 439 MB, free: 58.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.2683, allocations: 51.5 kB / 439.1 MB, free: 58.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.2694, allocations: 0.8766 MB / 440 MB, free: 58.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.2696, allocations: 0.7902 MB / 440.7 MB, free: 57.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000169/0.2698, allocations: 61.61 kB / 440.8 MB, free: 57.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.2698, allocations: 37.98 kB / 440.8 MB, free: 57.48 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2699, allocations: 0 / 440.8 MB, free: 57.48 MB / 366.1 MB Notification: Performance of Templates: time 0.008842/0.2787, allocations: 7.54 MB / 448.4 MB, free: 57.14 MB / 366.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)