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.001742/0.001742, allocations: 103 kB / 16.45 MB, free: 6.398 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.001711/0.001712, allocations: 182.9 kB / 17.38 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.384/1.384, 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.05122/0.05122, allocations: 8.1 MB / 299.3 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 63.91 kB / 414 MB, free: 22.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.09302, allocations: 51.51 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005736/0.0988, allocations: 4.767 MB / 470.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004792/0.1036, allocations: 3.151 MB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007188/0.1044, allocations: 16 kB / 473.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008989/0.1053, allocations: 278.2 kB / 473.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.1071, allocations: 0.5358 MB / 474.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.11, allocations: 1.49 MB / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.1117, allocations: 1.117 MB / 476.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005197/0.1122, allocations: 315.3 kB / 477.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006777/0.1129, allocations: 458.3 kB / 477.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008338/0.1137, allocations: 0.5407 MB / 478.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.114, allocations: 95.94 kB / 478.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009243/0.1149, allocations: 407.8 kB / 478.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.1152, allocations: 227 kB / 478.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006441/0.1158, allocations: 0.4897 MB / 479.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.1176, allocations: 1.285 MB / 480.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1176, allocations: 0 / 480.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1176, allocations: 0 / 480.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.451e-05/0.1177, allocations: 0 / 480.6 MB, free: 3.477 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.01001/0.1277, allocations: 2.567 MB / 483.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1278, allocations: 15.89 kB / 483.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002399/0.128, allocations: 118.7 kB / 483.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003278/0.1283, allocations: 111.7 kB / 483.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.1294, allocations: 0.5737 MB / 484 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.1295, allocations: 172.4 kB / 484.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.1297, allocations: 76 kB / 484.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.1316, allocations: 1.081 MB / 485.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1316, allocations: 4 kB / 485.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/0.1317, allocations: 36 kB / 485.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.1317, allocations: 16 kB / 485.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.1334, allocations: 0.989 MB / 486.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005653/0.1391, allocations: 4.033 MB / 490.4 MB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.1411, allocations: 1.592 MB / 492 MB, free: 7.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.1422, allocations: 0.7641 MB / 492.8 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001338/0.1424, allocations: 24.95 kB / 492.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/0.1441, allocations: 1.015 MB / 493.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.837e-06/0.1441, allocations: 0 / 493.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.02209/0.1662, allocations: 5.615 MB / 499.4 MB, free: 44 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.1664, allocations: 252.3 kB / 499.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008061/0.1672, allocations: 0.5417 MB / 0.4885 GB, free: 15.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.1674, allocations: 61.64 kB / 0.4885 GB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.1676, allocations: 285.9 kB / 0.4888 GB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/0.168, allocations: 390.3 kB / 0.4892 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004392/0.1685, allocations: 222.9 kB / 0.4894 GB, free: 14.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1686, allocations: 394.9 kB / 0.4898 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.1697, allocations: 0.6585 MB / 0.4904 GB, free: 13.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.1708, allocations: 0.7594 MB / 0.4912 GB, free: 12.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01736/0.1881, allocations: 4.78 MB / 0.4958 GB, free: 7.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.1882, allocations: 0 / 0.4958 GB, free: 7.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004189/0.1924, allocations: 2.207 MB / 0.498 GB, free: 5.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.1925, allocations: 41.69 kB / 0.498 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1925, allocations: 4 kB / 0.498 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008565/0.201, allocations: 2.371 MB / 0.5003 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007073/0.2018, allocations: 163.7 kB / 0.5005 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/0.2063, allocations: 2.261 MB / 0.5027 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.2076, allocations: 150.9 kB / 0.5029 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.2078, allocations: 40 kB / 0.5029 GB, free: 304 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.2233/0.4311, allocations: 301.4 kB / 0.5032 GB, free: 47.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005127/0.4316, allocations: 89.89 kB / 0.5033 GB, free: 47.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/0.4363, allocations: 2.406 MB / 0.5056 GB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.4364, allocations: 13.89 kB / 0.5056 GB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4364, allocations: 0 / 0.5056 GB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.4364, allocations: 6.141 kB / 0.5056 GB, free: 46.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006735/0.4431, allocations: 4.195 MB / 0.5097 GB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.4432, allocations: 0 / 0.5097 GB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.4436, allocations: 120.3 kB / 0.5098 GB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008632/0.4522, allocations: 2.125 MB / 0.5119 GB, free: 44.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/0.4525, allocations: 35.94 kB / 0.512 GB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005037/0.4576, allocations: 2.384 MB / 0.5143 GB, free: 43.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4576, allocations: 0 / 0.5143 GB, free: 43.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/0.4621, allocations: 2.427 MB / 0.5167 GB, free: 41.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006566/0.4628, allocations: 342.7 kB / 0.517 GB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.463, allocations: 37.62 kB / 0.517 GB, free: 41.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.4642, allocations: 105.8 kB / 0.5171 GB, free: 41.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002929/0.4645, allocations: 95.61 kB / 0.5172 GB, free: 41.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.4646, allocations: 48.72 kB / 0.5173 GB, free: 41.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005635/0.4652, allocations: 377.5 kB / 0.5176 GB, free: 41.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4652, allocations: 0 / 0.5176 GB, free: 41.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001027/0.4662, allocations: 328.2 kB / 0.5179 GB, free: 41.33 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.005461/0.4717, allocations: 3.349 MB / 0.5212 GB, free: 39.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005359/0.4771, allocations: 2.116 MB / 0.5233 GB, free: 38.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.4771, allocations: 3.5 kB / 0.5233 GB, free: 38.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003292/0.4804, allocations: 1.382 MB / 0.5246 GB, free: 38.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4815, allocations: 116.1 kB / 0.5247 GB, free: 37.98 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.01409/0.4956, allocations: 10.04 MB / 0.5345 GB, free: 29.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.496, allocations: 0.9733 MB / 0.5355 GB, free: 28.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004071/0.4964, allocations: 109.8 kB / 0.5356 GB, free: 28.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.4968, allocations: 327.2 kB / 0.5359 GB, free: 27.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4968, allocations: 0 / 0.5359 GB, free: 27.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1564/0.6532, allocations: 30.48 MB / 0.5657 GB, free: 13.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.84, allocations: 9.359 kB / 0.5657 GB, free: 13.62 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)