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.0007314/0.0007314, allocations: 102.8 kB / 16.07 MB, free: 32 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.0008505/0.0008506, allocations: 181.7 kB / 16.97 MB, free: 6.879 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.239/1.239, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1413/0.1413, allocations: 8.082 MB / 300.2 MB, free: 2.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003896, allocations: 11.98 kB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.09, allocations: 52.51 MB / 416.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.004488/0.09453, allocations: 4.307 MB / 420.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.09896, allocations: 3.116 MB / 423.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000506/0.09949, allocations: 12 kB / 423.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007032/0.1002, allocations: 238.8 kB / 423.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.1015, allocations: 0.4897 MB / 424.3 MB, free: 88 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1589/0.2604, allocations: 1.379 MB / 425.6 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.2615, allocations: 1.037 MB / 426.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.2618, allocations: 265.6 kB / 426.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.2621, allocations: 393.2 kB / 427.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.2625, allocations: 498.3 kB / 427.8 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.45e-05/0.2626, allocations: 47.84 kB / 427.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.2632, allocations: 367.4 kB / 428.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.2633, allocations: 178.5 kB / 428.4 MB, free: 36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003166/0.2636, allocations: 474.7 kB / 428.9 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.2647, allocations: 1.209 MB / 430.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2647, allocations: 0 / 430.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2647, allocations: 0 / 430.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.2647, allocations: 0 / 430.1 MB, free: 35.64 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.008657/0.2734, allocations: 2.428 MB / 432.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2734, allocations: 9.562 kB / 432.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.2736, allocations: 116.1 kB / 432.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.2738, allocations: 109.1 kB / 432.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/0.2745, allocations: 0.5773 MB / 433.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.393e-05/0.2746, allocations: 173.5 kB / 433.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.2747, allocations: 79.34 kB / 433.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.2764, allocations: 1.101 MB / 434.6 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.2765, allocations: 0 / 434.6 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.19e-05/0.2766, allocations: 33.88 kB / 434.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.2766, allocations: 16.06 kB / 434.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.2779, allocations: 0.9852 MB / 435.7 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004338/0.2822, allocations: 4.121 MB / 439.8 MB, free: 32.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.2838, allocations: 1.598 MB / 441.4 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000912/0.2847, allocations: 0.7711 MB / 442.2 MB, free: 30.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.823e-05/0.2848, allocations: 27.83 kB / 442.2 MB, free: 30.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/0.286, allocations: 1.003 MB / 443.2 MB, free: 30.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=123): time 2.315e-06/0.286, allocations: 0 / 443.2 MB, free: 30.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=123): time 0.02035/0.3064, allocations: 5.656 MB / 448.9 MB, free: 28.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.3065, allocations: 255.8 kB / 449.1 MB, free: 28.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000537/0.307, allocations: 0.5414 MB / 449.6 MB, free: 28.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.895e-05/0.3071, allocations: 55.33 kB / 449.7 MB, free: 28.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.3073, allocations: 284.6 kB / 450 MB, free: 28.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.3075, allocations: 397.3 kB / 450.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.3076, allocations: 112.3 kB / 450.5 MB, free: 27.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.3077, allocations: 397.3 kB / 450.9 MB, free: 27.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008449/0.3086, allocations: 0.6607 MB / 451.5 MB, free: 27.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009002/0.3095, allocations: 0.7637 MB / 452.3 MB, free: 26.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01633/0.3258, allocations: 4.907 MB / 457.2 MB, free: 25.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3258, allocations: 0 / 457.2 MB, free: 25.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003296/0.3291, allocations: 2.227 MB / 459.4 MB, free: 24.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.3292, allocations: 42.89 kB / 459.5 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3292, allocations: 0 / 459.5 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008474/0.3377, allocations: 2.38 MB / 461.8 MB, free: 23.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.3383, allocations: 167 kB / 462 MB, free: 23.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/0.3421, allocations: 2.251 MB / 464.3 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.3431, allocations: 158.7 kB / 464.4 MB, free: 22.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/0.3432, allocations: 45.75 kB / 464.5 MB, free: 22.19 MB / 350.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.0004882/0.3437, allocations: 301 kB / 464.8 MB, free: 21.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.3439, allocations: 93.36 kB / 464.8 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/0.3477, allocations: 2.44 MB / 467.3 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.3478, allocations: 16.31 kB / 467.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3478, allocations: 1.375 kB / 467.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.3478, allocations: 6.281 kB / 467.3 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006028/0.3538, allocations: 4.227 MB / 471.5 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.3539, allocations: 5.188 kB / 471.5 MB, free: 18.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.3543, allocations: 121.9 kB / 471.7 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008663/0.363, allocations: 2.178 MB / 473.8 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-05/0.3631, allocations: 32.7 kB / 473.9 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004113/0.3672, allocations: 2.383 MB / 476.2 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3672, allocations: 0 / 476.2 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/0.3711, allocations: 2.442 MB / 478.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.3715, allocations: 353.5 kB / 479 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.3717, allocations: 40.44 kB / 479.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.3727, allocations: 126.6 kB / 479.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.373, allocations: 102.4 kB / 479.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.3731, allocations: 48.81 kB / 479.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004575/0.3736, allocations: 381.1 kB / 479.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3736, allocations: 3.938 kB / 479.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007741/0.3743, allocations: 327.1 kB / 480 MB, free: 14.84 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.004771/0.3791, allocations: 3.353 MB / 483.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004545/0.3837, allocations: 2.081 MB / 485.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3837, allocations: 0.6562 kB / 485.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003171/0.3869, allocations: 1.38 MB / 486.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.3876, allocations: 120.7 kB / 487 MB, free: 10.14 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.01395/0.4015, allocations: 10.73 MB / 497.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.4021, allocations: 0.9772 MB / 498.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004192/0.4025, allocations: 118.1 kB / 498.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/0.4029, allocations: 315.3 kB / 499.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4029, allocations: 0 / 499.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1802/0.5831, allocations: 26.67 MB / 0.5135 GB, free: 3.781 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/0.5834, allocations: 281.9 kB / 0.5137 GB, free: 3.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/2.852, allocations: 0 / 0.5137 GB, free: 3.41 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)