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.0008999/0.0008999, 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.0008737/0.0008737, 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.8914/0.8914, allocations: 177.1 MB / 203.6 MB, free: 5.727 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.02316/0.02316, allocations: 4.473 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.473e-06/1.473e-06, allocations: 0 / 389.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.01e-05, allocations: 5.094 kB / 389.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002155/0.002176, allocations: 1.655 MB / 391.3 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.003762, allocations: 1.68 MB / 393 MB, free: 4.027 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.258e-05/0.003855, allocations: 4 kB / 393 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.004178, allocations: 131.2 kB / 393.1 MB, free: 3.895 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003079/0.004486, allocations: 158.8 kB / 393.2 MB, free: 3.738 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009953/0.005481, allocations: 0.8788 MB / 394.1 MB, free: 2.859 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.005871, allocations: 354.5 kB / 394.5 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.005999, allocations: 36.91 kB / 394.5 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.006169, allocations: 195.6 kB / 394.7 MB, free: 2.285 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.006306, allocations: 119.6 kB / 394.8 MB, free: 2.168 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.006343, allocations: 32 kB / 394.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.006709, allocations: 239.5 kB / 395.1 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.00675, allocations: 51.77 kB / 395.1 MB, free: 1.852 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/0.006838, allocations: 103.8 kB / 395.2 MB, free: 1.75 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.007331, allocations: 0.5414 MB / 395.8 MB, free: 1.207 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.007334, allocations: 8 kB / 395.8 MB, free: 1.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.007335, allocations: 0 / 395.8 MB, free: 1.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.00734, allocations: 0 / 395.8 MB, free: 1.199 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.002317/0.009657, allocations: 1.005 MB / 396.8 MB, free: 160 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.009698, allocations: 11.97 kB / 396.8 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.009749, allocations: 50.73 kB / 396.8 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.009812, allocations: 32.75 kB / 396.9 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.01008, allocations: 236.8 kB / 397.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.01009, allocations: 12.38 kB / 397.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.01016, allocations: 24.56 kB / 397.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.01066, allocations: 0.4939 MB / 397.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.01067, allocations: 192 / 397.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.01069, allocations: 11.94 kB / 397.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.0107, allocations: 4 kB / 397.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.01105, allocations: 313.5 kB / 398 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009445/0.01199, allocations: 0.6983 MB / 398.7 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005552/0.01255, allocations: 344 kB / 399 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.01276, allocations: 194.5 kB / 399.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005762/0.01334, allocations: 0.5585 MB / 399.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004512/0.01379, allocations: 0.5234 MB / 400.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.122e-06/0.01379, allocations: 0 / 400.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.001551/0.01534, allocations: 0.934 MB / 401.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/0.01542, allocations: 225.5 kB / 401.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.0156, allocations: 261.8 kB / 401.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.01563, allocations: 33.7 kB / 401.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.169e-05/0.0157, allocations: 148.9 kB / 401.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.01576, allocations: 103.1 kB / 402 MB, free: 10.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.01584, allocations: 85.67 kB / 402 MB, free: 10.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.01592, allocations: 338.8 kB / 402.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.01609, allocations: 178 kB / 402.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002288/0.01632, allocations: 324.6 kB / 402.9 MB, free: 9.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.01799, allocations: 1.048 MB / 403.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.018, allocations: 0 / 403.9 MB, free: 8.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007253/0.01872, allocations: 0.6407 MB / 404.5 MB, free: 7.863 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.01875, allocations: 41.69 kB / 404.6 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.01876, allocations: 7.938 kB / 404.6 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007215/0.01948, allocations: 393.2 kB / 405 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.01962, allocations: 59.91 kB / 405 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.02098, allocations: 2.235 MB / 407.3 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.0212, allocations: 75.95 kB / 407.3 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.02123, allocations: 15.98 kB / 407.4 MB, free: 4.867 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.0002131/0.02144, allocations: 219.5 kB / 407.6 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.02148, allocations: 31.81 kB / 407.6 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009621/0.02244, allocations: 0.7654 MB / 408.4 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.02244, allocations: 8 kB / 408.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.02245, allocations: 0 / 408.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.02245, allocations: 7.922 kB / 408.4 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.02269, allocations: 336.4 kB / 408.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.02269, allocations: 0 / 408.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-05/0.02278, allocations: 31.98 kB / 408.7 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007418/0.02352, allocations: 448.8 kB / 409.2 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.02354, allocations: 8 kB / 409.2 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.02497, allocations: 2.363 MB / 411.6 MB, free: 412 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.02497, allocations: 7.875 kB / 411.6 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1455/0.1704, allocations: 1.014 MB / 412.6 MB, free: 34.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.1706, allocations: 74.98 kB / 412.6 MB, free: 34.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.1707, allocations: 22.73 kB / 412.7 MB, free: 34.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.1709, allocations: 50.77 kB / 412.7 MB, free: 34.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.171, allocations: 37.25 kB / 412.8 MB, free: 34.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.171, allocations: 20.12 kB / 412.8 MB, free: 34.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.1712, allocations: 188.2 kB / 413 MB, free: 33.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1712, allocations: 0 / 413 MB, free: 33.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000347/0.1715, allocations: 96.88 kB / 413.1 MB, free: 33.94 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.001668/0.1732, allocations: 1.593 MB / 414.6 MB, free: 33.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008507/0.174, allocations: 0.6518 MB / 415.3 MB, free: 32.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.174, allocations: 0 / 415.3 MB, free: 32.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004402/0.1745, allocations: 429.7 kB / 415.7 MB, free: 32.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.1747, allocations: 32.39 kB / 415.8 MB, free: 32.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.1782, allocations: 3.747 MB / 419.5 MB, free: 29.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.1783, allocations: 154 kB / 419.6 MB, free: 29.81 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.663e-05/0.1784, allocations: 27.95 kB / 419.7 MB, free: 29.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1785, allocations: 103.3 kB / 419.8 MB, free: 29.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1785, allocations: 0 / 419.8 MB, free: 29.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.2084, allocations: 9.595 MB / 429.4 MB, free: 26.71 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.392, allocations: 13.22 kB / 429.4 MB, free: 26.7 MB / 330.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2_fmu --startTime=0 --stopTime=3000 --stepSize=1.2 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.104371164925396] Failed to read output from testmodel.py, exit status != 0: 8.484941876493394 8.491035206 8.482325563 Calling exit ...