Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 106.6 kB / 16.45 MB, free: 6.035 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.001158/0.001158, allocations: 187.8 kB / 17.38 MB, free: 5.562 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.338/1.338, 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.05217/0.05217, allocations: 8.102 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 59.91 kB / 414.5 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09871/0.09985, allocations: 51.52 MB / 466 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003135/0.103, allocations: 2.058 MB / 468 MB, free: 88 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.1053, allocations: 1.633 MB / 469.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.1054, allocations: 8 kB / 469.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.1058, allocations: 131.2 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005984/0.1065, allocations: 234.7 kB / 470 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.1084, allocations: 1.217 MB / 471.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004502/0.1089, allocations: 374.5 kB / 471.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1091, allocations: 115.7 kB / 471.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.1093, allocations: 171.4 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.1096, allocations: 195.2 kB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-05/0.1097, allocations: 32 kB / 472.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.1102, allocations: 295.7 kB / 472.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1103, allocations: 87.73 kB / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.1105, allocations: 179.1 kB / 472.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.1111, allocations: 0.5489 MB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.1111, allocations: 0 / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1112, allocations: 0 / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1112, allocations: 0 / 473.2 MB, free: 10.88 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003722/0.1149, allocations: 1.122 MB / 474.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1149, allocations: 8.031 kB / 474.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.115, allocations: 44.69 kB / 474.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.1154, allocations: 296.2 kB / 474.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.1156, allocations: 104.5 kB / 474.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.477e-05/0.1157, allocations: 32.38 kB / 474.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.1172, allocations: 0.7098 MB / 475.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1173, allocations: 3.938 kB / 475.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/0.1173, allocations: 12 kB / 475.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1173, allocations: 4 kB / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009924/0.1183, allocations: 457.4 kB / 476 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.1203, allocations: 1.538 MB / 477.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.122, allocations: 0.7083 MB / 478.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.1226, allocations: 318.4 kB / 478.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.1228, allocations: 93.09 kB / 478.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.1232, allocations: 277 kB / 478.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.1232, allocations: 0 / 478.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003519/0.1268, allocations: 1.222 MB / 480.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.1269, allocations: 144.5 kB / 480.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.1271, allocations: 220.1 kB / 480.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.1272, allocations: 41.69 kB / 480.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1273, allocations: 153 kB / 480.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.15e-05/0.1274, allocations: 126.9 kB / 480.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.1275, allocations: 94.23 kB / 480.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1276, allocations: 334.8 kB / 481.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.128, allocations: 205 kB / 481.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.1284, allocations: 340.4 kB / 481.8 MB, free: 1.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.129, allocations: 0.5374 MB / 482.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1291, allocations: 4 kB / 482.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001583/0.1306, allocations: 0.7865 MB / 483.1 MB, free: 468 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1307, allocations: 8 kB / 483.1 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1307, allocations: 4 kB / 483.1 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/0.1329, allocations: 468.4 kB / 483.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.1333, allocations: 87.78 kB / 483.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.1348, allocations: 0.9076 MB / 484.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.1351, allocations: 47.67 kB / 484.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.1352, allocations: 23.98 kB / 484.6 MB, free: 14.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (52): * Single equations (assignments): 51 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002487/0.1354, allocations: 165.7 kB / 484.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006732/0.1361, allocations: 253.7 kB / 485 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.1372, allocations: 0.5749 MB / 485.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.1372, allocations: 11.98 kB / 485.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1373, allocations: 0 / 485.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1373, allocations: 0 / 485.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.1398, allocations: 1.393 MB / 487 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1398, allocations: 3.938 kB / 487 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.1402, allocations: 83.89 kB / 487.1 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.1422, allocations: 460.3 kB / 487.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.1422, allocations: 8 kB / 487.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.1436, allocations: 0.9115 MB / 488.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1436, allocations: 4 kB / 488.5 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.146, allocations: 0.9971 MB / 489.5 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/0.1461, allocations: 116.8 kB / 489.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/0.1462, allocations: 12 kB / 489.6 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.1466, allocations: 43.89 kB / 489.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.28e-05/0.1467, allocations: 23.97 kB / 489.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.1468, allocations: 16 kB / 489.7 MB, free: 9.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.1469, allocations: 167.1 kB / 489.8 MB, free: 9.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1469, allocations: 0 / 489.8 MB, free: 9.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.1474, allocations: 111.9 kB / 490 MB, free: 9.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (38): * Single equations (assignments): 37 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002182/0.1476, allocations: 127.2 kB / 490.1 MB, free: 9.273 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.1495, allocations: 0.7018 MB / 490.8 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1495, allocations: 0 / 490.8 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.1506, allocations: 332.6 kB / 491.1 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.1513, allocations: 156.6 kB / 491.3 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.1536, allocations: 0.8603 MB / 492.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.1539, allocations: 0.7771 MB / 492.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.1541, allocations: 46.94 kB / 492.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.1542, allocations: 27.44 kB / 493 MB, free: 6.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1542, allocations: 0 / 493 MB, free: 6.32 MB / 366.1 MB Notification: Performance of Templates: time 0.009894/0.1641, allocations: 5.895 MB / 498.9 MB, free: 452 kB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1)