Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 117.3 kB / 17.17 MB, free: 5.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 197.3 kB / 20.12 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05454/0.05454, allocations: 8.231 MB / 311.6 MB, free: 2.016 MB / 238.1 MB " [Timeout remaining time 180] 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.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 75.81 kB / 434 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2621, allocations: 54.36 MB / 488.3 MB, free: 27.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.003504/0.2656, allocations: 3.219 MB / 491.5 MB, free: 24.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.2673, allocations: 1.125 MB / 492.7 MB, free: 24.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.2674, allocations: 5.719 kB / 492.7 MB, free: 24.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003691/0.2678, allocations: 170 kB / 492.8 MB, free: 23.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005067/0.2683, allocations: 263.9 kB / 493.1 MB, free: 23.72 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.2701, allocations: 1.281 MB / 494.4 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.2706, allocations: 0.5212 MB / 494.9 MB, free: 22.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.2707, allocations: 76.23 kB / 495 MB, free: 22.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.2709, allocations: 208.7 kB / 495.2 MB, free: 22.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.2711, allocations: 254.7 kB / 495.4 MB, free: 22.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.2712, allocations: 44.72 kB / 495.5 MB, free: 22.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.2716, allocations: 312.3 kB / 495.8 MB, free: 21.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.2717, allocations: 89.36 kB / 495.9 MB, free: 21.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.2719, allocations: 226.6 kB / 496.1 MB, free: 21.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006487/0.2725, allocations: 0.6887 MB / 496.8 MB, free: 21.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2725, allocations: 1 kB / 496.8 MB, free: 21.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.2725, allocations: 0 / 496.8 MB, free: 21.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.2725, allocations: 0 / 496.8 MB, free: 21.27 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.004152/0.2767, allocations: 1.334 MB / 498.1 MB, free: 20.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2767, allocations: 12.52 kB / 498.1 MB, free: 20.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.775e-05/0.2768, allocations: 62.64 kB / 498.2 MB, free: 20.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.2769, allocations: 54.38 kB / 498.2 MB, free: 20.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003683/0.2773, allocations: 359 kB / 498.6 MB, free: 19.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.2773, allocations: 54.8 kB / 498.6 MB, free: 19.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.2774, allocations: 34.73 kB / 498.7 MB, free: 19.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000777/0.2782, allocations: 484.8 kB / 499.1 MB, free: 19.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2782, allocations: 5.312 kB / 499.1 MB, free: 19.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.2782, allocations: 11.34 kB / 499.2 MB, free: 19.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2782, allocations: 6.875 kB / 499.2 MB, free: 19.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007925/0.279, allocations: 469 kB / 499.6 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.2813, allocations: 1.968 MB / 0.4898 GB, free: 17.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.2823, allocations: 490.6 kB / 0.4903 GB, free: 17.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.2828, allocations: 269.2 kB / 0.4906 GB, free: 17.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/0.2829, allocations: 88.89 kB / 0.4906 GB, free: 17.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007289/0.2836, allocations: 0.5469 MB / 0.4912 GB, free: 16.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.134e-06/0.2836, allocations: 0 / 0.4912 GB, free: 16.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.005427/0.289, allocations: 1.8 MB / 0.4929 GB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.2891, allocations: 197 kB / 0.4931 GB, free: 15.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.2894, allocations: 321.8 kB / 0.4934 GB, free: 15.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.2894, allocations: 43.8 kB / 0.4935 GB, free: 15.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.2895, allocations: 175.6 kB / 0.4936 GB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.235e-05/0.2896, allocations: 159.1 kB / 0.4938 GB, free: 14.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.2898, allocations: 105.2 kB / 0.4939 GB, free: 14.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.2898, allocations: 359.5 kB / 0.4942 GB, free: 14.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/0.2903, allocations: 283.9 kB / 0.4945 GB, free: 14.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.2907, allocations: 358 kB / 0.4948 GB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00715/0.2979, allocations: 2.147 MB / 0.4969 GB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2979, allocations: 0 / 0.4969 GB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003125/0.301, allocations: 1.259 MB / 0.4982 GB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.115e-05/0.3011, allocations: 37.94 kB / 0.4982 GB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3011, allocations: 5.312 kB / 0.4982 GB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/0.3045, allocations: 0.8586 MB / 0.4991 GB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.3048, allocations: 75.61 kB / 0.4991 GB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.3063, allocations: 1.277 MB / 0.5004 GB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/0.3069, allocations: 89.67 kB / 0.5005 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.307, allocations: 18.59 kB / 0.5005 GB, free: 10.66 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: varTra.tapChanger.tap:DISCRETE(start = varTra.tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer varTra.tapChanger.furtherTapChangeTimeout:DISCRETE(start = varTra.tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real varTra.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: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003722/0.3074, allocations: 234 kB / 0.5007 GB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3075, allocations: 45.77 kB / 0.5007 GB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.3094, allocations: 1.043 MB / 0.5018 GB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.3094, allocations: 4.062 kB / 0.5018 GB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3094, allocations: 1.406 kB / 0.5018 GB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3094, allocations: 4 kB / 0.5018 GB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006141/0.31, allocations: 0.6292 MB / 0.5024 GB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.31, allocations: 1 kB / 0.5024 GB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.3102, allocations: 50.8 kB / 0.5024 GB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003484/0.3137, allocations: 0.9122 MB / 0.5033 GB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.3137, allocations: 15.98 kB / 0.5033 GB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/0.3154, allocations: 1.409 MB / 0.5047 GB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3154, allocations: 0 / 0.5047 GB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.3169, allocations: 1.002 MB / 0.5057 GB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.3172, allocations: 200.6 kB / 0.5059 GB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.3173, allocations: 27.95 kB / 0.5059 GB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.3178, allocations: 59.94 kB / 0.506 GB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.3179, allocations: 52.36 kB / 0.506 GB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.3179, allocations: 16 kB / 0.506 GB, free: 5.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.3182, allocations: 231 kB / 0.5063 GB, free: 5.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3182, allocations: 4 kB / 0.5063 GB, free: 5.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004878/0.3187, allocations: 136 kB / 0.5064 GB, free: 5.527 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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001775/0.3204, allocations: 1.614 MB / 0.508 GB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.3221, allocations: 0.8114 MB / 0.5088 GB, free: 3.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3221, allocations: 4 kB / 0.5088 GB, free: 3.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.3231, allocations: 492.5 kB / 0.5092 GB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.3235, allocations: 45.22 kB / 0.5093 GB, free: 2.504 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.3339, allocations: 5.463 MB / 0.5146 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/0.3344, allocations: 0.8007 MB / 0.5154 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00018/0.3346, allocations: 43.25 kB / 0.5154 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.3348, allocations: 135.4 kB / 0.5156 GB, free: 11.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3348, allocations: 0 / 0.5156 GB, free: 11.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04363/0.3784, allocations: 14.53 MB / 0.5298 GB, free: 13.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.99, allocations: 10.62 kB / 0.5298 GB, free: 13.59 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_WithVariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.453041698783636] Failed to read output from testmodel.py, exit status != 0: 12.087283599190414 12.11249552 11.835403512 Calling exit ...