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.001133/0.001133, allocations: 80.53 kB / 19.97 MB, free: 4.598 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.001068/0.001068, allocations: 173.9 kB / 23.25 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.9454/0.9454, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.02534/0.02534, allocations: 4.468 MB / 264.4 MB, free: 8.785 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 2.425e-06/2.425e-06, allocations: 0 / 389.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.989e-05, allocations: 10.22 kB / 389.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.FourVariableLoadsOneLVFeeder): time 0.004841/0.004871, allocations: 4.087 MB / 393.7 MB, free: 3.305 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.008568, allocations: 3.347 MB / 397.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003886/0.008957, allocations: 12 kB / 397.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.009597, allocations: 281.8 kB / 397.3 MB, free: 15.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.01066, allocations: 0.5822 MB / 397.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.01214, allocations: 1.379 MB / 399.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.01325, allocations: 1.128 MB / 400.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.01356, allocations: 195.5 kB / 400.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006234/0.01418, allocations: 0.6275 MB / 401.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.01466, allocations: 434.7 kB / 401.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.01478, allocations: 95.94 kB / 401.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00066/0.01544, allocations: 451.3 kB / 402.2 MB, free: 10.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.01558, allocations: 215.1 kB / 402.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.01583, allocations: 347 kB / 402.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.01704, allocations: 1.402 MB / 404.2 MB, free: 8.801 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.01704, allocations: 0 / 404.2 MB, free: 8.801 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.01705, allocations: 4 kB / 404.2 MB, free: 8.797 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.01707, allocations: 0 / 404.2 MB, free: 8.797 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.005192/0.02226, allocations: 2.537 MB / 406.7 MB, free: 6.219 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.0223, allocations: 12.02 kB / 406.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.02241, allocations: 114.7 kB / 406.8 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.02259, allocations: 116.3 kB / 406.9 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006371/0.02323, allocations: 0.5207 MB / 407.5 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.02333, allocations: 164.7 kB / 407.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.871e-05/0.02342, allocations: 80.31 kB / 407.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.02485, allocations: 1.593 MB / 409.3 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.02487, allocations: 0 / 409.3 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/0.02495, allocations: 39.98 kB / 409.3 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.02496, allocations: 16 kB / 409.3 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.0261, allocations: 1.038 MB / 410.4 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1602/0.1863, allocations: 2.495 MB / 412.9 MB, free: 33.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.1879, allocations: 1.184 MB / 414.1 MB, free: 32.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.1887, allocations: 0.679 MB / 414.7 MB, free: 32.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.1888, allocations: 21.84 kB / 414.8 MB, free: 32.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001482/0.1903, allocations: 1.457 MB / 416.2 MB, free: 31.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 5.55e-06/0.1903, allocations: 0 / 416.2 MB, free: 31.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.01307/0.2034, allocations: 5.556 MB / 421.8 MB, free: 30.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.2035, allocations: 265 kB / 422 MB, free: 29.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.2041, allocations: 0.5352 MB / 422.6 MB, free: 29.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.634e-05/0.2041, allocations: 63.73 kB / 422.6 MB, free: 29.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.2043, allocations: 280.4 kB / 422.9 MB, free: 29.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.2045, allocations: 405 kB / 423.3 MB, free: 29.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.2047, allocations: 219.4 kB / 423.5 MB, free: 29.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2048, allocations: 395.8 kB / 423.9 MB, free: 28.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00073/0.2055, allocations: 0.6937 MB / 424.6 MB, free: 28.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008046/0.2063, allocations: 0.8772 MB / 425.5 MB, free: 27.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009024/0.2154, allocations: 4.819 MB / 430.3 MB, free: 25.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2154, allocations: 0 / 430.3 MB, free: 25.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002439/0.2178, allocations: 2.231 MB / 432.5 MB, free: 24.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.2179, allocations: 41.41 kB / 432.6 MB, free: 24.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2179, allocations: 1.125 kB / 432.6 MB, free: 24.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/0.2221, allocations: 2.318 MB / 434.9 MB, free: 23.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.2224, allocations: 159.9 kB / 435 MB, free: 23.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.2246, allocations: 2.323 MB / 437.4 MB, free: 21.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.2251, allocations: 156.3 kB / 437.5 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/0.2251, allocations: 47.98 kB / 437.6 MB, free: 20.89 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.0003417/0.2255, allocations: 290.6 kB / 437.8 MB, free: 20.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2256, allocations: 95.44 kB / 437.9 MB, free: 20.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.2277, allocations: 2.313 MB / 440.2 MB, free: 18.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2277, allocations: 16 kB / 440.3 MB, free: 18.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2277, allocations: 0 / 440.3 MB, free: 18.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2277, allocations: 7.969 kB / 440.3 MB, free: 18.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.2313, allocations: 3.772 MB / 444 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2313, allocations: 0 / 444 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.2315, allocations: 115.8 kB / 444.2 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003995/0.2355, allocations: 2.172 MB / 446.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.2355, allocations: 31.98 kB / 446.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/0.2379, allocations: 2.482 MB / 448.8 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2379, allocations: 0 / 448.8 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.2402, allocations: 2.325 MB / 451.2 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.2405, allocations: 267 kB / 451.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.2406, allocations: 39.94 kB / 451.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.241, allocations: 112.8 kB / 451.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.2412, allocations: 101.1 kB / 451.7 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-05/0.2413, allocations: 43.98 kB / 451.7 MB, free: 6.586 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002741/0.2415, allocations: 378.8 kB / 452.1 MB, free: 6.219 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2415, allocations: 0 / 452.1 MB, free: 6.219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005642/0.2421, allocations: 343.6 kB / 452.4 MB, free: 5.883 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.003454/0.2455, allocations: 3.322 MB / 455.7 MB, free: 2.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.2481, allocations: 1.999 MB / 457.7 MB, free: 0.707 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.2481, allocations: 4.656 kB / 457.7 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.2502, allocations: 1.178 MB / 458.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.2507, allocations: 121.3 kB / 459 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.2622, allocations: 10.24 MB / 469.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.2624, allocations: 377.4 kB / 469.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002922/0.2627, allocations: 114.1 kB / 469.8 MB, free: 4.477 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.263, allocations: 324.3 kB / 470.1 MB, free: 4.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.263, allocations: 0 / 470.1 MB, free: 4.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/0.3, allocations: 28.65 MB / 498.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.514/8.814, allocations: 9.344 kB / 498.7 MB, free: 7.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_FourVariableLoadsOneLVFeeder_fmu --startTime=0 --stopTime=3.15324e+07 --stepSize=12613 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_FourVariableLoadsOneLVFeeder.fmu > PowerSysPro_PowerSysPro.Examples.FourVariableLoadsOneLVFeeder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.653911385685205] Failed to read output from testmodel.py, exit status != 0: 8.934974202886224 8.944002142 8.925111197 Calling exit ...