Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.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: "" <> buildModelFMU(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_FourVariableLoadsThreeFeeders",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.FourVariableLoadsThreeFeeders,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_FourVariableLoadsThreeFeeders",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 103.2 kB / 16.45 MB, free: 6.43 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.00168/0.00168, allocations: 189.5 kB / 17.39 MB, free: 5.676 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.309/1.309, 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-master/package.mo): time 0.05131/0.05131, allocations: 8.098 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 64.05 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09254/0.0937, allocations: 51.52 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.00613/0.09988, allocations: 4.752 MB / 470.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004922/0.1048, allocations: 3.159 MB / 473.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006417/0.1055, allocations: 12 kB / 473.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009055/0.1065, allocations: 286.2 kB / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.1082, allocations: 0.5358 MB / 474.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.111, allocations: 1.482 MB / 475.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.1126, allocations: 1.133 MB / 476.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005189/0.1132, allocations: 315.3 kB / 477.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006817/0.1139, allocations: 454.4 kB / 477.6 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009066/0.1148, allocations: 0.5407 MB / 478.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002493/0.115, allocations: 92 kB / 478.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009097/0.116, allocations: 419.7 kB / 478.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.1162, allocations: 215.1 kB / 478.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007307/0.117, allocations: 0.4897 MB / 479.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.1187, allocations: 1.281 MB / 480.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1188, allocations: 4 kB / 480.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1188, allocations: 0 / 480.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.903e-05/0.1188, allocations: 0 / 480.6 MB, free: 3.461 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.01006/0.1289, allocations: 2.563 MB / 483.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.1289, allocations: 15.89 kB / 483.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.1291, allocations: 118.7 kB / 483.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002766/0.1294, allocations: 111.7 kB / 483.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.1303, allocations: 0.5737 MB / 484 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.1304, allocations: 180.4 kB / 484.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.1306, allocations: 76 kB / 484.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.1324, allocations: 1.081 MB / 485.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1325, allocations: 0 / 485.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.612e-05/0.1326, allocations: 32 kB / 485.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.1326, allocations: 20 kB / 485.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.1342, allocations: 0.9734 MB / 486.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005449/0.1397, allocations: 4.045 MB / 490.4 MB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.1417, allocations: 1.594 MB / 492 MB, free: 7.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.1428, allocations: 0.7614 MB / 492.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.1429, allocations: 24.95 kB / 492.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001554/0.1445, allocations: 1.007 MB / 493.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.407e-06/0.1445, allocations: 0 / 493.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.02157/0.1661, allocations: 5.63 MB / 499.4 MB, free: 24 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.1663, allocations: 252.3 kB / 499.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007753/0.1671, allocations: 0.5417 MB / 0.4885 GB, free: 15.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.1672, allocations: 53.7 kB / 0.4885 GB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.1675, allocations: 281.9 kB / 0.4888 GB, free: 14.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/0.1678, allocations: 390.3 kB / 0.4892 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/0.1682, allocations: 222.9 kB / 0.4894 GB, free: 14.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1684, allocations: 394.8 kB / 0.4898 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.1694, allocations: 0.6546 MB / 0.4904 GB, free: 13.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.1705, allocations: 0.7633 MB / 0.4912 GB, free: 12.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01726/0.1878, allocations: 4.787 MB / 0.4958 GB, free: 7.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1879, allocations: 3.938 kB / 0.4958 GB, free: 7.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00413/0.192, allocations: 2.21 MB / 0.498 GB, free: 5.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.1921, allocations: 41.69 kB / 0.498 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.1921, allocations: 0 / 0.498 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008703/0.2008, allocations: 2.382 MB / 0.5004 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.2015, allocations: 151.8 kB / 0.5005 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004118/0.2056, allocations: 2.261 MB / 0.5027 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.2067, allocations: 138.9 kB / 0.5028 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/0.2068, allocations: 47.98 kB / 0.5029 GB, free: 288 kB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) "Current tap position" type: Integer HVMV.tapChanger.furtherTapChangeTimeout:DISCRETE(start = HVMV.tapChanger.nextTapChangeTimeout unit = "s" fixed = true protected = true ) "Time lag between the first change and the following tap" type: Real HVMV.tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,$PRE.HVMV.tapChanger.abnormalUTime,varLoad4.degradedMode,$PRE.varLoad4.degradedMode,varLoad3.degradedMode,$PRE.varLoad3.degradedMode,varLoad2.degradedMode,$PRE.varLoad2.degradedMode,varLoad1.degradedMode,$PRE.varLoad1.degradedMode,HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.normalU,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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 {(20,30)} Notification: Performance of prepare postOptimizeDAE: time 0.1982/0.405, allocations: 289.1 kB / 0.5032 GB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/0.4054, allocations: 89.75 kB / 0.5033 GB, free: 46.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005238/0.4106, allocations: 2.419 MB / 0.5056 GB, free: 46.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.4107, allocations: 11.62 kB / 0.5056 GB, free: 46.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.4107, allocations: 1.922 kB / 0.5056 GB, free: 46.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.4107, allocations: 6.328 kB / 0.5056 GB, free: 46.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009835/0.4206, allocations: 4.186 MB / 0.5097 GB, free: 44.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.4206, allocations: 0.7031 kB / 0.5097 GB, free: 44.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/0.4213, allocations: 125.1 kB / 0.5098 GB, free: 44.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009771/0.4311, allocations: 2.121 MB / 0.5119 GB, free: 44.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.4312, allocations: 36.56 kB / 0.512 GB, free: 44.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004445/0.4357, allocations: 2.389 MB / 0.5143 GB, free: 43.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4357, allocations: 5.656 kB / 0.5143 GB, free: 43.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/0.4396, allocations: 2.42 MB / 0.5167 GB, free: 41.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/0.4402, allocations: 349.2 kB / 0.517 GB, free: 41.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.4404, allocations: 33.62 kB / 0.517 GB, free: 41.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000953/0.4413, allocations: 102.1 kB / 0.5171 GB, free: 41.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.4416, allocations: 103.5 kB / 0.5172 GB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.4417, allocations: 46.17 kB / 0.5173 GB, free: 41.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005033/0.4422, allocations: 377.1 kB / 0.5176 GB, free: 41.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4422, allocations: 0 / 0.5176 GB, free: 41.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008236/0.443, allocations: 327.9 kB / 0.5179 GB, free: 41.38 MB / 382.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: 18 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,HVMV.tapChanger.tap,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.furtherTapChangeTimeout,varLoad1.degradedMode,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode) * Number of discrete states: 14 (HVMV.tapChanger.tap,HVMV.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,HVMV.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,HVMV.tapChanger.normalU,varLoad2.degradedMode,varLoad3.degradedMode,varLoad4.degradedMode,varLoad1.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 74 * 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 {(20,33)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004803/0.4478, allocations: 3.355 MB / 0.5212 GB, free: 39.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004596/0.4525, allocations: 2.103 MB / 0.5233 GB, free: 38.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4525, allocations: 4.594 kB / 0.5233 GB, free: 38.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002972/0.4555, allocations: 1.386 MB / 0.5246 GB, free: 38.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007025/0.4562, allocations: 119.9 kB / 0.5247 GB, free: 38.02 MB / 382.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/0.469, allocations: 10.04 MB / 0.5345 GB, free: 29.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.4693, allocations: 0.9702 MB / 0.5355 GB, free: 28.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003359/0.4696, allocations: 106.1 kB / 0.5356 GB, free: 28.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.4699, allocations: 319.3 kB / 0.5359 GB, free: 28.01 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4699, allocations: 0 / 0.5359 GB, free: 28.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1516/0.6215, allocations: 30.49 MB / 0.5657 GB, free: 13.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.98, allocations: 4 kB / 0.5657 GB, free: 13.69 MB / 398.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_FourVariableLoadsThreeFeeders_fmu --startTime=0 --stopTime=3.15324e+07 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_FourVariableLoadsThreeFeeders.fmu > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsThreeFeeders.pipe 2>&1)