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.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.001291/0.001291, allocations: 115.7 kB / 17.85 MB, free: 5.074 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.001286/0.001286, allocations: 190.1 kB / 20.79 MB, free: 2.141 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.422/1.422, allocations: 225.6 MB / 249.2 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.04895/0.04895, allocations: 8.238 MB / 312.3 MB, free: 2.082 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: translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.88 kB / 435.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2306, allocations: 54.35 MB / 489.5 MB, free: 27.64 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.002991/0.2336, allocations: 2.667 MB / 492.2 MB, free: 25.54 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.2354, allocations: 1.386 MB / 493.5 MB, free: 24.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.2355, allocations: 3.531 kB / 493.5 MB, free: 24.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.2359, allocations: 261.8 kB / 493.8 MB, free: 24.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.2363, allocations: 261.1 kB / 494.1 MB, free: 24.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.2378, allocations: 1.034 MB / 495.1 MB, free: 23.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.2383, allocations: 450.3 kB / 495.5 MB, free: 23.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.2385, allocations: 52.56 kB / 495.6 MB, free: 23.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.2386, allocations: 202.3 kB / 495.8 MB, free: 22.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.2389, allocations: 320.3 kB / 496.1 MB, free: 22.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.976e-05/0.239, allocations: 32.72 kB / 496.1 MB, free: 22.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.2395, allocations: 320.5 kB / 496.4 MB, free: 22.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.2396, allocations: 151.3 kB / 496.6 MB, free: 22.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.2398, allocations: 239.8 kB / 496.8 MB, free: 22.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000666/0.2404, allocations: 0.7248 MB / 497.5 MB, free: 21.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2404, allocations: 4 kB / 497.5 MB, free: 21.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2404, allocations: 0 / 497.5 MB, free: 21.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2404, allocations: 0 / 497.5 MB, free: 21.91 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.003754/0.2442, allocations: 1.387 MB / 498.9 MB, free: 20.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2442, allocations: 13.3 kB / 498.9 MB, free: 20.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.2444, allocations: 72.55 kB / 499 MB, free: 20.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005444/0.2449, allocations: 472.6 kB / 499.5 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.2449, allocations: 18.38 kB / 499.5 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.245, allocations: 21.19 kB / 499.5 MB, free: 20.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006799/0.2457, allocations: 414.6 kB / 499.9 MB, free: 20.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.2457, allocations: 0 / 499.9 MB, free: 20.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.2457, allocations: 16.47 kB / 499.9 MB, free: 20.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2457, allocations: 3.438 kB / 499.9 MB, free: 20.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005593/0.2463, allocations: 334.8 kB / 0.4885 GB, free: 20.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.2477, allocations: 1.106 MB / 0.4896 GB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000839/0.2485, allocations: 456.6 kB / 0.4901 GB, free: 18.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.2489, allocations: 217.3 kB / 0.4903 GB, free: 18.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008531/0.2498, allocations: 0.8734 MB / 0.4911 GB, free: 17.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000548/0.2503, allocations: 491.7 kB / 0.4916 GB, free: 17.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.805e-06/0.2503, allocations: 3.984 kB / 0.4916 GB, free: 17.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.003237/0.2535, allocations: 1.331 MB / 0.4929 GB, free: 16.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.2536, allocations: 249.5 kB / 0.4931 GB, free: 16.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006945/0.2543, allocations: 0.678 MB / 0.4938 GB, free: 16.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.2543, allocations: 39.23 kB / 0.4938 GB, free: 16.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.2545, allocations: 264.6 kB / 0.4941 GB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.052e-05/0.2546, allocations: 119.9 kB / 0.4942 GB, free: 15.83 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.2547, allocations: 88.36 kB / 0.4943 GB, free: 15.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.2548, allocations: 377.8 kB / 0.4946 GB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.255, allocations: 199.7 kB / 0.4948 GB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.2553, allocations: 310.1 kB / 0.4951 GB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/0.2586, allocations: 1.389 MB / 0.4965 GB, free: 14.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2586, allocations: 3.938 kB / 0.4965 GB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001637/0.2602, allocations: 0.9153 MB / 0.4974 GB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.2603, allocations: 80.62 kB / 0.4975 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2603, allocations: 7.156 kB / 0.4975 GB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.2617, allocations: 351.1 kB / 0.4978 GB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.2619, allocations: 62.62 kB / 0.4979 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.2635, allocations: 2.259 MB / 0.5001 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.264, allocations: 82.5 kB / 0.5001 GB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.264, allocations: 23.73 kB / 0.5002 GB, free: 11.28 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: 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.0003976/0.2644, allocations: 325.4 kB / 0.5005 GB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-05/0.2645, allocations: 65.31 kB / 0.5005 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.2666, allocations: 1.012 MB / 0.5015 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2666, allocations: 4.5 kB / 0.5015 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2666, allocations: 0 / 0.5015 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2666, allocations: 7.984 kB / 0.5015 GB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.2671, allocations: 0.5545 MB / 0.5021 GB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2671, allocations: 1.219 kB / 0.5021 GB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.2672, allocations: 31.27 kB / 0.5021 GB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.2687, allocations: 393.8 kB / 0.5025 GB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.2687, allocations: 23.67 kB / 0.5025 GB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.2706, allocations: 2.385 MB / 0.5048 GB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2706, allocations: 1.125 kB / 0.5048 GB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.2726, allocations: 1.007 MB / 0.5058 GB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.2728, allocations: 204.5 kB / 0.506 GB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.434e-05/0.2729, allocations: 20 kB / 0.506 GB, free: 6.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.2733, allocations: 67.81 kB / 0.5061 GB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2734, allocations: 39.94 kB / 0.5061 GB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.2734, allocations: 19.98 kB / 0.5062 GB, free: 6.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000472/0.2739, allocations: 498.8 kB / 0.5066 GB, free: 5.984 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2739, allocations: 0 / 0.5066 GB, free: 5.984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000477/0.2744, allocations: 143.9 kB / 0.5068 GB, free: 5.844 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: 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.0002406/0.2746, allocations: 175.1 kB / 0.5069 GB, free: 5.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.2758, allocations: 0.7594 MB / 0.5077 GB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2758, allocations: 0 / 0.5077 GB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007609/0.2765, allocations: 0.514 MB / 0.5082 GB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.2769, allocations: 53.81 kB / 0.5082 GB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.2782, allocations: 1.128 MB / 0.5093 GB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.2784, allocations: 0.8795 MB / 0.5102 GB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.2785, allocations: 31.44 kB / 0.5102 GB, free: 2.172 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2785, allocations: 0 / 0.5102 GB, free: 2.172 MB / 366.1 MB Notification: Performance of Templates: time 0.01376/0.2923, allocations: 10.05 MB / 0.52 GB, free: 8.125 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.makefile [Timeout 660] (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 & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.637749179964885] Failed to read output from testmodel.py, exit status != 0: 0.2998096940573305 0.312679125 0.069465149 Calling exit ...