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/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: "" <> 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.0007261/0.0007261, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007778/0.0007778, allocations: 175.7 kB / 16.63 MB, free: 6.887 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.268/1.268, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.148/0.148, allocations: 8.081 MB / 299.8 MB, free: 2.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002889, allocations: 8 kB / 362.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.08761, allocations: 52.52 MB / 415.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.003906/0.09155, allocations: 4.018 MB / 419.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003993/0.09557, allocations: 2.968 MB / 422.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005127/0.0961, allocations: 12 kB / 422.5 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006563/0.09678, allocations: 190.9 kB / 422.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001259/0.09805, allocations: 457.6 kB / 423.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1716/0.2696, allocations: 1.193 MB / 424.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.2713, allocations: 0.9675 MB / 425.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.2716, allocations: 243.2 kB / 425.5 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.2719, allocations: 383.3 kB / 425.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.2724, allocations: 489.8 kB / 426.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.934e-05/0.2725, allocations: 45.88 kB / 426.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006821/0.2732, allocations: 354.5 kB / 426.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.2733, allocations: 163.5 kB / 426.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.2735, allocations: 186.6 kB / 427.1 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007667/0.2743, allocations: 0.9122 MB / 428 MB, free: 34.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.2743, allocations: 0 / 428 MB, free: 34.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2743, allocations: 3.594 kB / 428 MB, free: 34.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2743, allocations: 0 / 428 MB, free: 34.93 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.007753/0.2821, allocations: 2.432 MB / 430.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2821, allocations: 9.406 kB / 430.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.2823, allocations: 117.2 kB / 430.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.2825, allocations: 112.1 kB / 430.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006433/0.2832, allocations: 0.5565 MB / 431.2 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/0.2832, allocations: 172.9 kB / 431.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.2834, allocations: 75.03 kB / 431.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.2848, allocations: 1.088 MB / 432.5 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2849, allocations: 3.938 kB / 432.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.285, allocations: 36.23 kB / 432.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.285, allocations: 16.12 kB / 432.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.2864, allocations: 0.9841 MB / 433.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004265/0.2907, allocations: 4.124 MB / 437.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.2922, allocations: 1.592 MB / 439.3 MB, free: 31.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000859/0.2931, allocations: 0.7611 MB / 440.1 MB, free: 31.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.2932, allocations: 31.12 kB / 440.1 MB, free: 31.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/0.2944, allocations: 1.016 MB / 441.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=123): time 3.026e-06/0.2945, allocations: 0 / 441.1 MB, free: 31.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.01761/0.3121, allocations: 5.568 MB / 446.7 MB, free: 29.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.3122, allocations: 262.8 kB / 446.9 MB, free: 29.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.3128, allocations: 0.5306 MB / 447.5 MB, free: 29.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.3129, allocations: 59.73 kB / 447.5 MB, free: 29.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.3131, allocations: 285.1 kB / 447.8 MB, free: 29.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.3133, allocations: 400.6 kB / 448.2 MB, free: 28.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/0.3134, allocations: 22.38 kB / 448.2 MB, free: 28.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.634e-05/0.3135, allocations: 390 kB / 448.6 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008549/0.3143, allocations: 0.6528 MB / 449.3 MB, free: 28.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009267/0.3153, allocations: 0.7592 MB / 450 MB, free: 27.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009726/0.3163, allocations: 0.732 MB / 450.7 MB, free: 27.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3163, allocations: 0 / 450.7 MB, free: 27.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003114/0.3194, allocations: 2.162 MB / 452.9 MB, free: 26.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.3195, allocations: 40.94 kB / 452.9 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3195, allocations: 0 / 452.9 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007662/0.3271, allocations: 2.384 MB / 455.3 MB, free: 25.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/0.3279, allocations: 170.2 kB / 455.5 MB, free: 25.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/0.3314, allocations: 2.233 MB / 457.7 MB, free: 24.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.3325, allocations: 160.6 kB / 457.9 MB, free: 24.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.3327, allocations: 45.73 kB / 457.9 MB, free: 24.38 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 HVMV.tapChanger.tap:DISCRETE(start = HVMV.tapChanger.startTap fixed = true ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.HVMV.tapChanger.tap,HVMV.tapChanger.tap,$PRE.HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.abnormalUTime,HVMV.tapChanger.normalU,HVMV.tapChanger.decreaseEvent,HVMV.tapChanger.increaseEvent,$PRE.HVMV.tapChanger.furtherTapChangeTimeout,HVMV.tapChanger.furtherTapChangeTimeout,$PRE.varLoad1.degradedMode,varLoad1.degradedMode,$PRE.varLoad2.degradedMode,varLoad2.degradedMode,$PRE.varLoad3.degradedMode,varLoad3.degradedMode,$PRE.varLoad4.degradedMode,varLoad4.degradedMode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0006593/0.3334, allocations: 300.2 kB / 458.2 MB, free: 24.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.3337, allocations: 93.62 kB / 458.3 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/0.3376, allocations: 2.44 MB / 460.8 MB, free: 22.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.3376, allocations: 12.44 kB / 460.8 MB, free: 22.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3376, allocations: 0 / 460.8 MB, free: 22.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.3376, allocations: 11.77 kB / 460.8 MB, free: 22.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006127/0.3437, allocations: 4.209 MB / 465 MB, free: 20.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.3438, allocations: 1.125 kB / 465 MB, free: 20.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.3442, allocations: 127.6 kB / 465.1 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007416/0.3517, allocations: 2.157 MB / 467.3 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.3519, allocations: 38.38 kB / 467.3 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004005/0.3559, allocations: 2.374 MB / 469.7 MB, free: 18.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3559, allocations: 0.6094 kB / 469.7 MB, free: 18.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004164/0.3601, allocations: 2.438 MB / 472.1 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006096/0.3607, allocations: 355.8 kB / 472.5 MB, free: 17.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.361, allocations: 34.77 kB / 472.5 MB, free: 17.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.362, allocations: 128.6 kB / 472.6 MB, free: 17.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.3623, allocations: 103.7 kB / 472.7 MB, free: 17.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/0.3624, allocations: 49.14 kB / 472.8 MB, free: 17.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005739/0.363, allocations: 371.4 kB / 473.1 MB, free: 17.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.363, allocations: 3.281 kB / 473.1 MB, free: 17.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001007/0.364, allocations: 334.8 kB / 473.5 MB, free: 17.04 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 33} Notification: Performance of Backend phase and start with SimCode phase: time 0.005128/0.3692, allocations: 3.337 MB / 476.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004656/0.3739, allocations: 2.08 MB / 478.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.3739, allocations: 6.781 kB / 478.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003242/0.3771, allocations: 1.373 MB / 480.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3782, allocations: 133.2 kB / 480.4 MB, free: 13.64 MB / 350.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.01169/0.3899, allocations: 6.705 MB / 487.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/0.3904, allocations: 0.9662 MB / 488.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005326/0.3909, allocations: 116.8 kB / 488.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/0.3914, allocations: 322.3 kB / 488.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3914, allocations: 0 / 488.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1293/0.5207, allocations: 26.4 MB / 0.5028 GB, free: 15 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/0.521, allocations: 253.8 kB / 0.5031 GB, free: 14.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/2.658, allocations: 0 / 0.5031 GB, free: 14.66 MB / 382.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/linux/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) Environment - environmentSimulation: