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.001068/0.001069, allocations: 104.3 kB / 16.03 MB, free: 6.355 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.001277/0.001277, allocations: 189.5 kB / 16.95 MB, free: 6.188 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.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04786/0.04786, allocations: 8.093 MB / 298.9 MB, free: 6.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.84 kB / 361.3 MB, free: 8.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2063, allocations: 51.51 MB / 412.8 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.004365/0.2107, allocations: 4.736 MB / 417.6 MB, free: 21.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003739/0.2144, allocations: 3.116 MB / 420.7 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006311/0.2151, allocations: 12 kB / 420.7 MB, free: 17.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007285/0.2158, allocations: 238.9 kB / 420.9 MB, free: 17.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.2172, allocations: 485.5 kB / 421.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.2192, allocations: 1.391 MB / 422.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.2203, allocations: 1.098 MB / 423.9 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000368/0.2207, allocations: 319 kB / 424.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.2211, allocations: 458.2 kB / 424.7 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004389/0.2215, allocations: 0.5368 MB / 425.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.2216, allocations: 92 kB / 425.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006893/0.2223, allocations: 423.7 kB / 425.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.2225, allocations: 215.1 kB / 425.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.2228, allocations: 0.5014 MB / 426.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.2238, allocations: 1.262 MB / 427.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2238, allocations: 0 / 427.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2238, allocations: 0 / 427.7 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.2239, allocations: 0 / 427.7 MB, free: 10.87 MB / 302.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.0093/0.2332, allocations: 2.574 MB / 430.2 MB, free: 8.234 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.2332, allocations: 15.88 kB / 430.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.2334, allocations: 118.7 kB / 430.4 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002298/0.2336, allocations: 107.8 kB / 430.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006951/0.2343, allocations: 0.5814 MB / 431.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-05/0.2344, allocations: 172.4 kB / 431.2 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.2345, allocations: 76 kB / 431.3 MB, free: 7.102 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.2361, allocations: 1.081 MB / 432.4 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2361, allocations: 0 / 432.4 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.474e-05/0.2362, allocations: 39.98 kB / 432.4 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.2363, allocations: 16 kB / 432.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.2378, allocations: 0.9812 MB / 433.4 MB, free: 4.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004665/0.2424, allocations: 4.064 MB / 437.5 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.2443, allocations: 1.587 MB / 439.1 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.2454, allocations: 0.7653 MB / 439.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.2455, allocations: 24.91 kB / 439.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/0.2471, allocations: 0.9996 MB / 440.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=123): time 3.136e-06/0.2471, allocations: 0 / 440.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=123): time 0.02255/0.2697, allocations: 5.618 MB / 446.5 MB, free: 7.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.2699, allocations: 256.3 kB / 446.7 MB, free: 7.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/0.2706, allocations: 0.534 MB / 447.3 MB, free: 6.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.2708, allocations: 57.7 kB / 447.3 MB, free: 6.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.2711, allocations: 285.8 kB / 447.6 MB, free: 6.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.2715, allocations: 402.3 kB / 448 MB, free: 5.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004043/0.2719, allocations: 218.9 kB / 448.2 MB, free: 5.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.2721, allocations: 394.7 kB / 448.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.2731, allocations: 0.6469 MB / 449.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.2742, allocations: 0.7594 MB / 450 MB, free: 3.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/0.2926, allocations: 4.812 MB / 454.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.2926, allocations: 0 / 454.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004163/0.2968, allocations: 2.203 MB / 457 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.2969, allocations: 49.62 kB / 457.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.2969, allocations: 4.109 kB / 457.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009542/0.3065, allocations: 2.386 MB / 459.5 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007497/0.3073, allocations: 159.8 kB / 459.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004394/0.3117, allocations: 2.257 MB / 461.9 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.3129, allocations: 150.8 kB / 462 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.3131, allocations: 47.98 kB / 462.1 MB, free: 7.629 MB / 334.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.0006111/0.3137, allocations: 286.1 kB / 462.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.3139, allocations: 94.97 kB / 462.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/0.318, allocations: 2.412 MB / 464.8 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.318, allocations: 12 kB / 464.9 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.318, allocations: 11.98 kB / 464.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.318, allocations: 3.984 kB / 464.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006592/0.3246, allocations: 4.196 MB / 469.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.3247, allocations: 4 kB / 469.1 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.3251, allocations: 119.8 kB / 469.2 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008973/0.3341, allocations: 2.137 MB / 471.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/0.3343, allocations: 35.98 kB / 471.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004849/0.3392, allocations: 2.384 MB / 473.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3392, allocations: 0 / 473.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/0.3438, allocations: 2.429 MB / 476.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000593/0.3444, allocations: 335.6 kB / 476.5 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/0.3446, allocations: 36 kB / 476.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.3457, allocations: 110.6 kB / 476.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/0.346, allocations: 93.12 kB / 476.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.3461, allocations: 51.98 kB / 476.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005399/0.3467, allocations: 374.8 kB / 477.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3467, allocations: 0 / 477.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009627/0.3476, allocations: 331.7 kB / 477.5 MB, free: 8.012 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 (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.005708/0.3533, allocations: 3.351 MB / 480.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005946/0.3593, allocations: 2.136 MB / 483 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.918e-05/0.3594, allocations: 8.656 kB / 483 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003655/0.363, allocations: 1.38 MB / 484.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009167/0.364, allocations: 126.3 kB / 484.5 MB, free: 1.121 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.01723/0.3812, allocations: 10.66 MB / 495.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.3817, allocations: 0.9693 MB / 496.1 MB, free: 5.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004423/0.3822, allocations: 122.1 kB / 496.2 MB, free: 5.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.3826, allocations: 311.3 kB / 496.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3827, allocations: 0 / 496.5 MB, free: 4.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3437/0.7264, allocations: 28.57 MB / 0.5128 GB, free: 94.98 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.7266, allocations: 271.5 kB / 0.5131 GB, free: 94.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.119, allocations: 0 / 0.5131 GB, free: 94.62 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/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)