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.004825/0.00483, allocations: 92.69 kB / 15.91 MB, free: 6.285 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.001325/0.001325, allocations: 194.2 kB / 16.83 MB, free: 6.199 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.252/1.252, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1775/0.1775, allocations: 8.088 MB / 298.8 MB, free: 2.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 361.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.09807, allocations: 51.53 MB / 412.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsThreeFeeders): time 0.005778/0.1039, allocations: 4.731 MB / 417.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.1084, allocations: 3.151 MB / 420.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.1088, allocations: 12 kB / 420.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006893/0.1095, allocations: 238.9 kB / 420.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.1106, allocations: 485.5 kB / 421.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00249/0.1132, allocations: 1.436 MB / 422.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.1142, allocations: 1.035 MB / 423.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.1146, allocations: 267.7 kB / 424 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003843/0.115, allocations: 418.3 kB / 424.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005825/0.1156, allocations: 0.5251 MB / 424.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.1157, allocations: 60 kB / 425 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006314/0.1164, allocations: 379.7 kB / 425.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.1166, allocations: 187.1 kB / 425.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004035/0.117, allocations: 473.5 kB / 426 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.1182, allocations: 1.246 MB / 427.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1182, allocations: 3.984 kB / 427.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1182, allocations: 0 / 427.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1182, allocations: 0 / 427.3 MB, free: 11.4 MB / 366.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.0102/0.1284, allocations: 2.571 MB / 429.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1285, allocations: 8.031 kB / 429.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.1286, allocations: 118.7 kB / 429.9 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.1289, allocations: 107.8 kB / 430.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/0.1297, allocations: 0.5697 MB / 430.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.1298, allocations: 180.4 kB / 430.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.1299, allocations: 76 kB / 430.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.1316, allocations: 1.081 MB / 432 MB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1317, allocations: 0 / 432 MB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.251e-05/0.1318, allocations: 32 kB / 432 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.1318, allocations: 12 kB / 432 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.1333, allocations: 0.9851 MB / 433 MB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/0.1382, allocations: 4.068 MB / 437.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1602/0.2985, allocations: 1.578 MB / 438.6 MB, free: 55.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.2996, allocations: 0.7595 MB / 439.4 MB, free: 55.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.2998, allocations: 28.81 kB / 439.4 MB, free: 55.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.3011, allocations: 0.9968 MB / 440.4 MB, free: 55.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 2.885e-06/0.3012, allocations: 0 / 440.4 MB, free: 55.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.02073/0.3219, allocations: 5.617 MB / 446 MB, free: 54.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.322, allocations: 255.1 kB / 446.3 MB, free: 54.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.3225, allocations: 0.5408 MB / 446.8 MB, free: 54.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.655e-05/0.3226, allocations: 59.89 kB / 446.9 MB, free: 54.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.3228, allocations: 285.9 kB / 447.2 MB, free: 53.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.323, allocations: 402.1 kB / 447.6 MB, free: 53.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/0.3233, allocations: 216.3 kB / 447.8 MB, free: 53.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.313e-05/0.3234, allocations: 396.2 kB / 448.2 MB, free: 53.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008284/0.3242, allocations: 0.6571 MB / 448.8 MB, free: 52.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008792/0.3251, allocations: 0.7545 MB / 449.6 MB, free: 52.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01589/0.341, allocations: 4.778 MB / 454.3 MB, free: 50.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.341, allocations: 7 kB / 454.3 MB, free: 50.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003223/0.3443, allocations: 2.206 MB / 456.6 MB, free: 49.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3443, allocations: 42.27 kB / 456.6 MB, free: 49.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3443, allocations: 4.797 kB / 456.6 MB, free: 49.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007936/0.3523, allocations: 2.373 MB / 459 MB, free: 49.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.3528, allocations: 163.6 kB / 459.1 MB, free: 49.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/0.3562, allocations: 2.249 MB / 461.4 MB, free: 48.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008751/0.3571, allocations: 150.6 kB / 461.5 MB, free: 48.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/0.3572, allocations: 44.19 kB / 461.6 MB, free: 48.02 MB / 366.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.0004179/0.3576, allocations: 297.1 kB / 461.9 MB, free: 47.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.3578, allocations: 91.25 kB / 462 MB, free: 47.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/0.3611, allocations: 2.413 MB / 464.4 MB, free: 46.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3612, allocations: 11.06 kB / 464.4 MB, free: 46.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3612, allocations: 0 / 464.4 MB, free: 46.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3612, allocations: 21.44 kB / 464.4 MB, free: 46.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005069/0.3663, allocations: 4.204 MB / 468.6 MB, free: 44.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3663, allocations: 0 / 468.6 MB, free: 44.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.3666, allocations: 121.9 kB / 468.7 MB, free: 44.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007993/0.3746, allocations: 2.16 MB / 470.9 MB, free: 43.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.97e-05/0.3748, allocations: 30.86 kB / 470.9 MB, free: 43.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004003/0.3788, allocations: 2.39 MB / 473.3 MB, free: 42.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3788, allocations: 3.938 kB / 473.3 MB, free: 42.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003726/0.3825, allocations: 2.43 MB / 475.7 MB, free: 41.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/0.3829, allocations: 345.4 kB / 476.1 MB, free: 41.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.3831, allocations: 32.28 kB / 476.1 MB, free: 41.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000909/0.384, allocations: 105.6 kB / 476.2 MB, free: 41.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.3842, allocations: 98.69 kB / 476.3 MB, free: 41.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/0.3843, allocations: 49.86 kB / 476.3 MB, free: 41.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004129/0.3848, allocations: 374.7 kB / 476.7 MB, free: 40.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3848, allocations: 1.156 kB / 476.7 MB, free: 40.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007583/0.3855, allocations: 325.8 kB / 477 MB, free: 40.78 MB / 366.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.004658/0.3902, allocations: 3.347 MB / 480.4 MB, free: 38.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004523/0.3947, allocations: 2.073 MB / 482.5 MB, free: 38.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.3948, allocations: 6.375 kB / 482.5 MB, free: 38.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003258/0.398, allocations: 1.377 MB / 483.8 MB, free: 37.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008084/0.3988, allocations: 116.3 kB / 484 MB, free: 37.43 MB / 366.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.01439/0.4132, allocations: 10.66 MB / 494.6 MB, free: 31.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.4136, allocations: 0.9693 MB / 495.6 MB, free: 30.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004081/0.414, allocations: 118 kB / 495.7 MB, free: 30.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/0.4144, allocations: 319.4 kB / 496 MB, free: 30.61 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4144, allocations: 0 / 496 MB, free: 30.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.112/1.526, allocations: 27.1 MB / 0.5109 GB, free: 8.117 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.527, allocations: 279.9 kB / 0.5111 GB, free: 7.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/4.092, allocations: 4.062 kB / 0.5111 GB, free: 7.746 MB / 366.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)