Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 76.55 kB / 19.97 MB, free: 4.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 173.9 kB / 23.24 MB, free: 1.316 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.928/0.928, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0253/0.0253, allocations: 4.469 MB / 264.4 MB, free: 8.766 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_FourVariableLoadsOneLVFeeder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_FourVariableLoadsOneLVFeeder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.297e-05, allocations: 2.984 kB / 389.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.005461/0.005484, allocations: 4.106 MB / 393.7 MB, free: 3.289 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004205/0.009689, allocations: 3.328 MB / 397 MB, free: 15.94 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.01003, allocations: 16 kB / 397.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.01063, allocations: 289.9 kB / 397.3 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.01165, allocations: 0.5744 MB / 397.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.0131, allocations: 1.391 MB / 399.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000975/0.01408, allocations: 1.121 MB / 400.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.01434, allocations: 203.5 kB / 400.6 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004455/0.01479, allocations: 0.6275 MB / 401.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004112/0.0152, allocations: 430.7 kB / 401.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9e-05/0.01529, allocations: 92 kB / 401.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008334/0.01612, allocations: 447.3 kB / 402.2 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.01627, allocations: 219.1 kB / 402.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.01649, allocations: 355 kB / 402.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.01756, allocations: 1.402 MB / 404.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.01756, allocations: 0 / 404.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01757, allocations: 0 / 404.2 MB, free: 8.789 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.679e-06/0.01758, allocations: 0 / 404.2 MB, free: 8.789 MB / 330.7 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.005041/0.02262, allocations: 2.533 MB / 406.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.02266, allocations: 8.031 kB / 406.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.02277, allocations: 118.7 kB / 406.8 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.02293, allocations: 112.3 kB / 406.9 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.02354, allocations: 0.5246 MB / 407.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.299e-05/0.02363, allocations: 172.7 kB / 407.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.02373, allocations: 80.25 kB / 407.7 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.02533, allocations: 1.593 MB / 409.3 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.02535, allocations: 0 / 409.3 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.02541, allocations: 32 kB / 409.3 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.02542, allocations: 16 kB / 409.3 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.0265, allocations: 1.034 MB / 410.4 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1475/0.174, allocations: 2.504 MB / 412.9 MB, free: 32.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.1759, allocations: 1.182 MB / 414.1 MB, free: 32.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007894/0.1767, allocations: 0.6745 MB / 414.7 MB, free: 32.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.937e-05/0.1768, allocations: 22.02 kB / 414.8 MB, free: 32.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.178, allocations: 1.459 MB / 416.2 MB, free: 31.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 3.646e-06/0.178, allocations: 0 / 416.2 MB, free: 31.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.01245/0.1905, allocations: 5.558 MB / 421.8 MB, free: 29.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.1905, allocations: 261.2 kB / 422 MB, free: 29.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005097/0.191, allocations: 0.539 MB / 422.6 MB, free: 29.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.696e-05/0.1911, allocations: 58.16 kB / 422.6 MB, free: 29.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.1913, allocations: 279.8 kB / 422.9 MB, free: 29.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.1915, allocations: 411.2 kB / 423.3 MB, free: 28.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.1917, allocations: 220.6 kB / 423.5 MB, free: 28.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.1918, allocations: 395.1 kB / 423.9 MB, free: 28.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/0.1925, allocations: 0.6952 MB / 424.6 MB, free: 28.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007617/0.1933, allocations: 0.884 MB / 425.5 MB, free: 27.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008611/0.2019, allocations: 4.808 MB / 430.3 MB, free: 25.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2019, allocations: 0 / 430.3 MB, free: 25.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0023/0.2042, allocations: 2.236 MB / 432.5 MB, free: 24.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.2043, allocations: 44.06 kB / 432.6 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2043, allocations: 0 / 432.6 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004328/0.2086, allocations: 2.308 MB / 434.9 MB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.209, allocations: 163.7 kB / 435 MB, free: 23.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.2112, allocations: 2.331 MB / 437.4 MB, free: 20.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.2118, allocations: 150.1 kB / 437.5 MB, free: 20.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.2119, allocations: 39.98 kB / 437.6 MB, free: 20.67 MB / 330.7 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.0004411/0.2123, allocations: 306.9 kB / 437.9 MB, free: 20.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.2124, allocations: 95.44 kB / 437.9 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.2147, allocations: 2.304 MB / 440.2 MB, free: 17.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.2147, allocations: 15.72 kB / 440.3 MB, free: 17.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2147, allocations: 0 / 440.3 MB, free: 17.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.2147, allocations: 11.97 kB / 440.3 MB, free: 17.92 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.2183, allocations: 3.78 MB / 444.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2183, allocations: 0 / 444.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.2185, allocations: 119.8 kB / 444.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003805/0.2223, allocations: 2.164 MB / 446.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.2223, allocations: 35.98 kB / 446.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/0.2247, allocations: 2.479 MB / 448.8 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2248, allocations: 5.938 kB / 448.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.2271, allocations: 2.321 MB / 451.2 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.2275, allocations: 265.5 kB / 451.4 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.2276, allocations: 40 kB / 451.5 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000506/0.2281, allocations: 104.5 kB / 451.6 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.2283, allocations: 97.12 kB / 451.7 MB, free: 6.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.89e-05/0.2284, allocations: 43.98 kB / 451.7 MB, free: 6.391 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003108/0.2287, allocations: 382.8 kB / 452.1 MB, free: 6.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2287, allocations: 0 / 452.1 MB, free: 6.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006168/0.2293, allocations: 349.2 kB / 452.4 MB, free: 5.691 MB / 330.7 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.003251/0.2326, allocations: 3.32 MB / 455.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.2352, allocations: 1.999 MB / 457.7 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.2352, allocations: 4.656 kB / 457.8 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.237, allocations: 1.182 MB / 458.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.2376, allocations: 121.2 kB / 459.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.2494, allocations: 10.24 MB / 469.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.25, allocations: 377.4 kB / 469.7 MB, free: 4.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003283/0.2503, allocations: 118.1 kB / 469.8 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.2506, allocations: 320.4 kB / 470.1 MB, free: 4 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/0.2506, allocations: 0 / 470.1 MB, free: 4 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03916/0.2898, allocations: 28.64 MB / 498.7 MB, free: 7.523 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.705, allocations: 7.984 kB / 498.7 MB, free: 7.516 MB / 378.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder_res.csv --start-time 0 --stop-time 3.15324e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12613 PowerSysPro_PowerSysPro_Examples_FourVariableLoadsOneLVFeeder.fmu > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.637924447655678] Failed to read output from testmodel.py, exit status != 0: 8.827449201606214 8.836341753 8.816807499 Calling exit ...