Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.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.001151/0.001151, 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.001142/0.001142, 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.8863/0.8863, 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.0239/0.0239, allocations: 4.473 MB / 264.4 MB, free: 8.762 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.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 389.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.131e-05, allocations: 3.266 kB / 389.6 MB, free: 7.387 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.002676/0.002697, allocations: 2.496 MB / 392.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.004266, allocations: 1.316 MB / 393.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.004387, allocations: 4 kB / 393.4 MB, free: 3.551 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.004851, allocations: 258.8 kB / 393.7 MB, free: 3.297 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.005218, allocations: 270.6 kB / 393.9 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.006298, allocations: 0.9294 MB / 394.9 MB, free: 2.102 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.006694, allocations: 462.3 kB / 395.3 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.006805, allocations: 44.91 kB / 395.4 MB, free: 1.605 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.007016, allocations: 275.4 kB / 395.6 MB, free: 1.336 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.007251, allocations: 271.5 kB / 395.9 MB, free: 1.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.007289, allocations: 35.94 kB / 395.9 MB, free: 1.035 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.007665, allocations: 307.5 kB / 396.2 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.007778, allocations: 151.5 kB / 396.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.007889, allocations: 147.5 kB / 396.5 MB, free: 452 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006339/0.008523, allocations: 0.7713 MB / 397.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.008525, allocations: 0 / 397.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.008526, allocations: 0 / 397.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.008532, allocations: 4 kB / 397.3 MB, free: 15.66 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.002215/0.01075, allocations: 1.302 MB / 398.6 MB, free: 14.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.01078, allocations: 8.031 kB / 398.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.01083, allocations: 54.67 kB / 398.7 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.026e-05/0.01091, allocations: 68.52 kB / 398.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.01136, allocations: 425.7 kB / 399.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.01138, allocations: 12.38 kB / 399.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.01141, allocations: 24.38 kB / 399.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.01197, allocations: 0.6011 MB / 399.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.01198, allocations: 3.938 kB / 399.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.01201, allocations: 12 kB / 399.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.01201, allocations: 4 kB / 399.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.01241, allocations: 419.3 kB / 400.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.01346, allocations: 0.8597 MB / 401.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/0.01406, allocations: 450 kB / 401.5 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.01431, allocations: 284.4 kB / 401.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/0.01498, allocations: 0.6133 MB / 402.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004978/0.01548, allocations: 0.6551 MB / 403.1 MB, free: 9.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.513e-06/0.01548, allocations: 0 / 403.1 MB, free: 9.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001916/0.0174, allocations: 1.388 MB / 404.5 MB, free: 8.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/0.01749, allocations: 255.3 kB / 404.7 MB, free: 7.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.01801, allocations: 0.6787 MB / 405.4 MB, free: 7.133 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.01804, allocations: 37.7 kB / 405.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.01819, allocations: 256.8 kB / 405.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.01826, allocations: 119 kB / 405.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.01836, allocations: 90.05 kB / 405.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.01849, allocations: 378.8 kB / 406.2 MB, free: 6.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.01873, allocations: 260.2 kB / 406.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.01908, allocations: 429.5 kB / 406.9 MB, free: 5.496 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.02108, allocations: 1.419 MB / 408.3 MB, free: 3.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02109, allocations: 3.938 kB / 408.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001261/0.02235, allocations: 1.023 MB / 409.4 MB, free: 2.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.02241, allocations: 71.39 kB / 409.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.02242, allocations: 3.938 kB / 409.4 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007408/0.02316, allocations: 396.8 kB / 409.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.02329, allocations: 67.91 kB / 409.9 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1499/0.1732, allocations: 2.218 MB / 412.1 MB, free: 33.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.1737, allocations: 77.42 kB / 412.2 MB, free: 33.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.1737, allocations: 25.31 kB / 412.2 MB, free: 33.62 MB / 330.7 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: 11 * Number of states: 0 () * Number of discrete variables: 20 ($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,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * 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.0004157/0.1741, allocations: 326.8 kB / 412.5 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.317e-05/0.1742, allocations: 68.41 kB / 412.6 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.1756, allocations: 1.127 MB / 413.7 MB, free: 33.22 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.1756, allocations: 6.406 kB / 413.7 MB, free: 33.22 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1756, allocations: 1.688 kB / 413.7 MB, free: 33.22 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1756, allocations: 1.312 kB / 413.7 MB, free: 33.22 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.176, allocations: 455.5 kB / 414.2 MB, free: 33.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.176, allocations: 1.188 kB / 414.2 MB, free: 33.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.372e-05/0.1761, allocations: 33.02 kB / 414.2 MB, free: 33.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007725/0.1769, allocations: 453.2 kB / 414.7 MB, free: 32.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.1769, allocations: 17.12 kB / 414.7 MB, free: 32.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.1782, allocations: 2.355 MB / 417 MB, free: 30.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1782, allocations: 0 / 417 MB, free: 30.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.1793, allocations: 1.14 MB / 418.2 MB, free: 30.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.1795, allocations: 125.6 kB / 418.3 MB, free: 30.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.1796, allocations: 26.41 kB / 418.3 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1798, allocations: 59.69 kB / 418.4 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.1799, allocations: 34.66 kB / 418.4 MB, free: 30.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.1799, allocations: 22.39 kB / 418.4 MB, free: 30.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003761/0.1803, allocations: 499.8 kB / 418.9 MB, free: 30.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1803, allocations: 0 / 418.9 MB, free: 30.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.1806, allocations: 138.9 kB / 419.1 MB, free: 30.08 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition1,varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition5,$whenCondition4,varTra.tapChanger.abnormalUTime,$whenCondition3,$whenCondition2,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.001471/0.1821, allocations: 1.745 MB / 420.8 MB, free: 29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009736/0.1831, allocations: 0.9119 MB / 421.7 MB, free: 28.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1831, allocations: 0 / 421.7 MB, free: 28.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.1836, allocations: 0.6046 MB / 422.3 MB, free: 28.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1839, allocations: 51.62 kB / 422.4 MB, free: 28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006875/0.1908, allocations: 7.373 MB / 429.7 MB, free: 24.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.191, allocations: 275.7 kB / 430 MB, free: 24.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.1911, allocations: 61.73 kB / 430.1 MB, free: 24.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.1913, allocations: 189.4 kB / 430.3 MB, free: 24.15 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1913, allocations: 0 / 430.3 MB, free: 24.15 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.2208, allocations: 14.52 MB / 444.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.633, allocations: 11 kB / 444.8 MB, free: 12.6 MB / 330.7 MB " [Timeout remaining time 651] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1_fmu --startTime=0 --stopTime=350 --stepSize=0.14 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.332685010507703] Failed to read output from testmodel.py, exit status != 0: 8.732226816937327 8.739223283 8.728962644 Calling exit ...