Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.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.0007432/0.0007432, allocations: 72.55 kB / 19.96 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.0007652/0.0007652, allocations: 173.9 kB / 23.25 MB, free: 1.312 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.8776/0.8776, allocations: 177.1 MB / 203.6 MB, free: 5.73 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.02562/0.02562, allocations: 4.465 MB / 264.5 MB, free: 8.758 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.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 389.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.035e-05, allocations: 2.281 kB / 389.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002138/0.002158, allocations: 1.657 MB / 391.3 MB, free: 5.727 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.004109, allocations: 1.688 MB / 393 MB, free: 4.027 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.004211, allocations: 7.938 kB / 393 MB, free: 4.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.00455, allocations: 135.1 kB / 393.1 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.004857, allocations: 150.8 kB / 393.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.006233, allocations: 0.8597 MB / 394.1 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004475/0.006681, allocations: 358.5 kB / 394.5 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.006812, allocations: 40.91 kB / 394.5 MB, free: 2.484 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.006971, allocations: 199.5 kB / 394.7 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.007101, allocations: 115.6 kB / 394.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.007137, allocations: 32 kB / 394.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003204/0.007458, allocations: 247.5 kB / 395.1 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.007495, allocations: 47.77 kB / 395.1 MB, free: 1.855 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.557e-05/0.007581, allocations: 107.8 kB / 395.2 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.008056, allocations: 0.5375 MB / 395.8 MB, free: 1.211 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.008059, allocations: 0 / 395.8 MB, free: 1.211 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.008061, allocations: 0 / 395.8 MB, free: 1.211 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.008066, allocations: 0 / 395.8 MB, free: 1.211 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002303/0.01037, allocations: 1.009 MB / 396.8 MB, free: 168 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.01042, allocations: 12.03 kB / 396.8 MB, free: 156 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/0.01048, allocations: 50.73 kB / 396.8 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.636e-05/0.01056, allocations: 36.75 kB / 396.9 MB, free: 60 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.01085, allocations: 236.8 kB / 397.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.01087, allocations: 12.38 kB / 397.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.01095, allocations: 24.56 kB / 397.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.01142, allocations: 0.4899 MB / 397.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.01143, allocations: 192 / 397.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.01145, allocations: 11.94 kB / 397.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.01146, allocations: 4 kB / 397.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.0118, allocations: 305.5 kB / 397.9 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008762/0.01267, allocations: 0.7022 MB / 398.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.01321, allocations: 351.9 kB / 399 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.01342, allocations: 190.5 kB / 399.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006268/0.01405, allocations: 0.5586 MB / 399.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.01454, allocations: 0.5195 MB / 400.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.352e-06/0.01454, allocations: 0 / 400.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001799/0.01634, allocations: 0.9368 MB / 401.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.01642, allocations: 229.5 kB / 401.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.01661, allocations: 261.8 kB / 401.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.01663, allocations: 37.7 kB / 401.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.598e-05/0.01671, allocations: 152.8 kB / 401.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.01676, allocations: 103.1 kB / 402 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/0.01684, allocations: 77.69 kB / 402 MB, free: 10.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.01693, allocations: 346.7 kB / 402.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.0171, allocations: 170.1 kB / 402.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.01731, allocations: 332.5 kB / 402.9 MB, free: 9.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.01889, allocations: 1.04 MB / 403.9 MB, free: 8.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01889, allocations: 4 kB / 403.9 MB, free: 8.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007216/0.01962, allocations: 0.6445 MB / 404.5 MB, free: 7.863 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.01965, allocations: 37.69 kB / 404.6 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.01966, allocations: 8.281 kB / 404.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007204/0.02038, allocations: 392.8 kB / 405 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.02053, allocations: 67.91 kB / 405 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.02188, allocations: 2.219 MB / 407.3 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.02212, allocations: 79.83 kB / 407.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.02214, allocations: 19.98 kB / 407.4 MB, free: 4.871 MB / 330.7 MB Warning: Assuming fixed start value for the following 4 variables: slackBusRamp.U:VARIABLE(start = slackBusRamp.UNom unit = \"V\" fixed = true ) type: Real 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: 12 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002434/0.02239, allocations: 218.8 kB / 407.6 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.02268, allocations: 35.81 kB / 407.6 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009538/0.02364, allocations: 0.7654 MB / 408.4 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.02364, allocations: 0 / 408.4 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.02364, allocations: 64 / 408.4 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.02365, allocations: 11.98 kB / 408.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.02392, allocations: 336.4 kB / 408.7 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02392, allocations: 0 / 408.7 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.444e-05/0.02401, allocations: 31.92 kB / 408.7 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000737/0.02475, allocations: 456.8 kB / 409.2 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.02477, allocations: 12 kB / 409.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.02621, allocations: 2.352 MB / 411.6 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02622, allocations: 3.938 kB / 411.6 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1404/0.1666, allocations: 1.021 MB / 412.6 MB, free: 34.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.1667, allocations: 78.06 kB / 412.7 MB, free: 34.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.1668, allocations: 21.22 kB / 412.7 MB, free: 34.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.167, allocations: 54 kB / 412.7 MB, free: 34.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.1671, allocations: 32.7 kB / 412.8 MB, free: 34.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.1671, allocations: 16.25 kB / 412.8 MB, free: 34.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.1672, allocations: 188.4 kB / 413 MB, free: 33.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1672, allocations: 0 / 413 MB, free: 33.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.1676, allocations: 95.95 kB / 413.1 MB, free: 33.96 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slackBusRamp.U) * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 10 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001528/0.1691, allocations: 1.591 MB / 414.6 MB, free: 33.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008192/0.1699, allocations: 0.6487 MB / 415.3 MB, free: 32.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1699, allocations: 0 / 415.3 MB, free: 32.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004331/0.1703, allocations: 431.5 kB / 415.7 MB, free: 32.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.1705, allocations: 36.06 kB / 415.8 MB, free: 32.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.1738, allocations: 3.741 MB / 419.5 MB, free: 29.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.1739, allocations: 158.1 kB / 419.6 MB, free: 29.81 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.319e-05/0.174, allocations: 33.45 kB / 419.7 MB, free: 29.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.443e-05/0.1741, allocations: 94.91 kB / 419.8 MB, free: 29.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.173e-06/0.1741, allocations: 0 / 419.8 MB, free: 29.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/0.2045, allocations: 9.611 MB / 429.4 MB, free: 26.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.558, allocations: 5.266 kB / 429.4 MB, free: 26.69 MB / 330.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2_res.csv --start-time 0 --stop-time 3000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.2 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.35362271219492] Failed to read output from testmodel.py, exit status != 0: 8.65335241612047 8.664825437 8.655229647 Calling exit ...