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.001041/0.001041, allocations: 105.9 kB / 16.45 MB, free: 6.387 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.001068/0.001068, allocations: 192.9 kB / 17.39 MB, free: 5.672 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.363/1.363, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05501/0.05501, allocations: 8.099 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.89 kB / 414.5 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.108, allocations: 51.53 MB / 466 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.004151/0.1122, allocations: 2.484 MB / 468.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00371/0.116, allocations: 2.543 MB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.1163, allocations: 8 kB / 471 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006314/0.1169, allocations: 167 kB / 471.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009354/0.1179, allocations: 294.4 kB / 471.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.1203, allocations: 1.284 MB / 472.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.121, allocations: 418.2 kB / 473.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.1213, allocations: 124.1 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.1216, allocations: 163.4 kB / 473.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003979/0.122, allocations: 211.1 kB / 473.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/0.1221, allocations: 36 kB / 473.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008129/0.1229, allocations: 347.7 kB / 474 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.1231, allocations: 87.62 kB / 474.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.1234, allocations: 191 kB / 474.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.125, allocations: 0.631 MB / 474.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.125, allocations: 4 kB / 474.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.125, allocations: 0 / 474.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.125, allocations: 0 / 474.9 MB, free: 9.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.004833/0.1299, allocations: 1.22 MB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.1299, allocations: 8.031 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.1301, allocations: 44.47 kB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/0.1306, allocations: 327.4 kB / 476.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.1307, allocations: 54.83 kB / 476.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/0.1308, allocations: 32.12 kB / 476.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008124/0.1316, allocations: 440.5 kB / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.1317, allocations: 0 / 477.1 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.255e-05/0.1317, allocations: 19.94 kB / 477.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.1317, allocations: 8 kB / 477.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006542/0.1324, allocations: 378.1 kB / 477.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.135, allocations: 1.746 MB / 479.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009597/0.136, allocations: 0.4939 MB / 479.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004148/0.1365, allocations: 244.8 kB / 479.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.848e-05/0.1365, allocations: 19.97 kB / 479.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006259/0.1372, allocations: 315.1 kB / 480.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.1372, allocations: 0 / 480.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.004272/0.1415, allocations: 1.354 MB / 481.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.1416, allocations: 118.7 kB / 481.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.142, allocations: 282.9 kB / 482 MB, free: 1.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.1421, allocations: 37.7 kB / 482 MB, free: 1.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.1422, allocations: 164.9 kB / 482.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.1424, allocations: 141.9 kB / 482.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.1426, allocations: 94.23 kB / 482.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1427, allocations: 338.8 kB / 482.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.1431, allocations: 261 kB / 483 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004516/0.1436, allocations: 312.6 kB / 483.3 MB, free: 412 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000873/0.1445, allocations: 0.5587 MB / 483.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1445, allocations: 4 kB / 483.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001956/0.1464, allocations: 0.9132 MB / 484.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1465, allocations: 4 kB / 484.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1465, allocations: 0 / 484.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.1491, allocations: 0.6134 MB / 485.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.1494, allocations: 71.89 kB / 485.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/0.151, allocations: 1.075 MB / 486.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.1514, allocations: 39.59 kB / 486.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.1514, allocations: 19.98 kB / 486.6 MB, free: 13.06 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.0002483/0.1517, allocations: 165.7 kB / 486.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.1518, allocations: 35.62 kB / 486.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.1532, allocations: 0.7857 MB / 487.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.1532, allocations: 8 kB / 487.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1532, allocations: 0 / 487.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1532, allocations: 7.922 kB / 487.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.1539, allocations: 0.5524 MB / 488.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1539, allocations: 4 kB / 488.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.1541, allocations: 55.91 kB / 488.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/0.1565, allocations: 0.5783 MB / 488.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.1565, allocations: 15.98 kB / 488.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.158, allocations: 1.082 MB / 489.9 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.1581, allocations: 3.938 kB / 489.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.1593, allocations: 0.7288 MB / 490.6 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1594, allocations: 116.6 kB / 490.7 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.1595, allocations: 8 kB / 490.8 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.1597, allocations: 27.92 kB / 490.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.155e-05/0.1598, allocations: 32.39 kB / 490.8 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.75e-05/0.1599, allocations: 12 kB / 490.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.1601, allocations: 205.9 kB / 491 MB, free: 8.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1601, allocations: 0 / 491 MB, free: 8.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004498/0.1606, allocations: 131.9 kB / 491.2 MB, free: 8.387 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.0009892/0.1616, allocations: 433.6 kB / 491.6 MB, free: 8.105 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.1633, allocations: 0.7124 MB / 492.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1634, allocations: 0 / 492.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.1645, allocations: 406.4 kB / 492.7 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.1649, allocations: 48.53 kB / 492.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.1664, allocations: 0.7523 MB / 493.5 MB, free: 6.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.1668, allocations: 0.7925 MB / 494.3 MB, free: 5.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.167, allocations: 54.92 kB / 494.3 MB, free: 5.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.385e-05/0.1671, allocations: 39.42 kB / 494.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1671, allocations: 0 / 494.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of Templates: time 0.0148/0.1819, allocations: 8.084 MB / 0.4907 GB, free: 13.2 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)