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.001192/0.001193, allocations: 105.8 kB / 17.13 MB, free: 5.949 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.001237/0.001237, allocations: 199.2 kB / 18.07 MB, free: 5.027 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.366/1.366, allocations: 222.9 MB / 241.8 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0471/0.0471, allocations: 8.088 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 415.2 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.08691, allocations: 51.51 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.00378/0.09072, allocations: 2.48 MB / 469.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.09426, allocations: 2.547 MB / 471.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.09451, allocations: 8 kB / 471.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005534/0.09508, allocations: 171 kB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008467/0.09596, allocations: 290.4 kB / 472.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.09831, allocations: 1.28 MB / 473.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006366/0.09896, allocations: 430.1 kB / 473.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.09922, allocations: 120.1 kB / 474 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.09947, allocations: 167.3 kB / 474.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.09982, allocations: 203.1 kB / 474.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.708e-05/0.0999, allocations: 32 kB / 474.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008031/0.1007, allocations: 347.7 kB / 474.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1008, allocations: 91.56 kB / 474.8 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.1011, allocations: 191 kB / 475 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.1022, allocations: 0.6306 MB / 475.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1022, allocations: 4 kB / 475.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.061e-06/0.1022, allocations: 4 kB / 475.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.1022, allocations: 0 / 475.6 MB, free: 9.168 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.004511/0.1067, allocations: 1.239 MB / 476.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1068, allocations: 11.89 kB / 476.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.1069, allocations: 48.66 kB / 476.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.1074, allocations: 319.6 kB / 477.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/0.1075, allocations: 58.81 kB / 477.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.884e-05/0.1075, allocations: 40.12 kB / 477.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007157/0.1083, allocations: 432.5 kB / 477.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1083, allocations: 0 / 477.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.1083, allocations: 23.92 kB / 477.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1084, allocations: 8 kB / 477.8 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006114/0.109, allocations: 374.1 kB / 478.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/0.1115, allocations: 1.754 MB / 479.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009338/0.1125, allocations: 497.5 kB / 480.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.1128, allocations: 252.8 kB / 480.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.422e-05/0.1129, allocations: 12 kB / 480.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005792/0.1135, allocations: 327.1 kB / 481 MB, free: 3.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/0.1135, allocations: 0 / 481 MB, free: 3.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.004374/0.1179, allocations: 1.351 MB / 482.3 MB, free: 2.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.118, allocations: 106.8 kB / 482.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.1184, allocations: 286.8 kB / 482.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/0.1185, allocations: 37.7 kB / 482.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.1186, allocations: 177 kB / 482.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.1187, allocations: 146.7 kB / 483.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.1189, allocations: 94.23 kB / 483.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1191, allocations: 346.8 kB / 483.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.1195, allocations: 253 kB / 483.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.12, allocations: 316.6 kB / 484 MB, free: 348 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.1209, allocations: 0.5587 MB / 484.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1209, allocations: 0 / 484.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002075/0.123, allocations: 0.9173 MB / 485.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.123, allocations: 4 kB / 485.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.123, allocations: 0 / 485.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002805/0.1258, allocations: 0.6168 MB / 486.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.1262, allocations: 75.84 kB / 486.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.1278, allocations: 1.064 MB / 487.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/0.1282, allocations: 51.61 kB / 487.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.1283, allocations: 16 kB / 487.3 MB, free: 13 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.0002313/0.1285, allocations: 169.6 kB / 487.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1286, allocations: 31.81 kB / 487.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.1301, allocations: 0.7818 MB / 488.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1301, allocations: 4 kB / 488.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1301, allocations: 0 / 488.3 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1302, allocations: 124.7 kB / 488.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.1303, allocations: 8 kB / 488.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.1306, allocations: 23.98 kB / 488.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.493e-05/0.1307, allocations: 32.33 kB / 488.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002528/0.1333, allocations: 0.9181 MB / 489.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001373/0.1347, allocations: 0.9435 MB / 490.4 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003768/0.135, allocations: 223.4 kB / 490.6 MB, free: 9.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002531/0.1353, allocations: 202 kB / 490.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of Backend: time 4.4e-07/0.1353, allocations: 0 / 490.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003293/0.1386, allocations: 1.052 MB / 491.8 MB, free: 8.613 MB / 366.1 MB Notification: Performance of SimCode: time 0.001422/0.1401, allocations: 1.183 MB / 493 MB, free: 7.383 MB / 366.1 MB Notification: Performance of Templates: time 0.01699/0.1571, allocations: 10.29 MB / 0.4915 GB, free: 13.12 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)