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.001061/0.001061, allocations: 80.06 kB / 20.76 MB, free: 3.727 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.001177/0.001177, allocations: 173 kB / 24.19 MB, free: 312 kB / 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.9642/0.9642, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.02244/0.02244, allocations: 4.478 MB / 265.6 MB, free: 8.445 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: translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") translateModel(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 283.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.095e-05, allocations: 5.828 kB / 283.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.002836/0.002857, allocations: 1.754 MB / 285.4 MB, free: 4.559 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.005246, allocations: 1.746 MB / 287.2 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.005359, allocations: 8 kB / 287.2 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004099/0.005769, allocations: 139.1 kB / 287.3 MB, free: 2.652 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003724/0.006141, allocations: 154.8 kB / 287.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.007629, allocations: 0.8984 MB / 288.4 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.007962, allocations: 358.5 kB / 288.7 MB, free: 1.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.008062, allocations: 38.89 kB / 288.8 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.008221, allocations: 195.6 kB / 289 MB, free: 1.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.008354, allocations: 119.7 kB / 289.1 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.008387, allocations: 28 kB / 289.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.008661, allocations: 239.5 kB / 289.3 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.008699, allocations: 55.7 kB / 289.4 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.844e-05/0.008777, allocations: 107.7 kB / 289.5 MB, free: 492 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.009181, allocations: 458.5 kB / 289.9 MB, free: 32 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.009183, allocations: 0 / 289.9 MB, free: 32 kB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.009184, allocations: 0 / 289.9 MB, free: 32 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.009187, allocations: 0 / 289.9 MB, free: 32 kB / 266.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.1006/0.1098, allocations: 1.026 MB / 291 MB, free: 20.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1099, allocations: 9.25 kB / 291 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.1099, allocations: 38.41 kB / 291 MB, free: 20.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.1101, allocations: 182.7 kB / 291.2 MB, free: 20 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1101, allocations: 14.97 kB / 291.2 MB, free: 20 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-05/0.1102, allocations: 27.31 kB / 291.2 MB, free: 20 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.1106, allocations: 394.3 kB / 291.6 MB, free: 19.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1106, allocations: 0.7969 kB / 291.6 MB, free: 19.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.1106, allocations: 11.19 kB / 291.6 MB, free: 19.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.1106, allocations: 9.312 kB / 291.6 MB, free: 19.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.1108, allocations: 128.4 kB / 291.8 MB, free: 19.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.1114, allocations: 443 kB / 292.2 MB, free: 19.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.1118, allocations: 288.4 kB / 292.5 MB, free: 19.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.067e-05/0.1119, allocations: 102.2 kB / 292.6 MB, free: 19.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/0.1123, allocations: 468.1 kB / 293 MB, free: 19.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.1125, allocations: 452.7 kB / 293.5 MB, free: 18.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.283e-06/0.1125, allocations: 0 / 293.5 MB, free: 18.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.001037/0.1136, allocations: 0.6059 MB / 294.1 MB, free: 18.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.1136, allocations: 224.6 kB / 294.3 MB, free: 18.35 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.1138, allocations: 240.2 kB / 294.5 MB, free: 18.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1138, allocations: 36.92 kB / 294.6 MB, free: 18.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.1138, allocations: 134 kB / 294.7 MB, free: 18.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.1139, allocations: 107.2 kB / 294.8 MB, free: 18.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-05/0.1139, allocations: 81.44 kB / 294.9 MB, free: 18.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.114, allocations: 350.5 kB / 295.2 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.1141, allocations: 88.08 kB / 295.3 MB, free: 17.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1142, allocations: 244.4 kB / 295.6 MB, free: 17.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.1145, allocations: 394.3 kB / 295.9 MB, free: 17.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1145, allocations: 1.219 kB / 295.9 MB, free: 17.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004261/0.1149, allocations: 422.7 kB / 296.4 MB, free: 17.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.1149, allocations: 41.62 kB / 296.4 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1149, allocations: 3.953 kB / 296.4 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007417/0.1157, allocations: 362.7 kB / 296.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1158, allocations: 67.59 kB / 296.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008002/0.1166, allocations: 1.948 MB / 298.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.1168, allocations: 58.94 kB / 298.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.1168, allocations: 19.58 kB / 298.8 MB, free: 15.21 MB / 266.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.0001534/0.117, allocations: 203.8 kB / 299 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.117, allocations: 36.88 kB / 299.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.1176, allocations: 0.5094 MB / 299.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1176, allocations: 2.375 kB / 299.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.1176, allocations: 2.016 kB / 299.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1176, allocations: 2.797 kB / 299.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.1178, allocations: 202.8 kB / 299.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1178, allocations: 4.906 kB / 299.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.1179, allocations: 30.03 kB / 299.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007053/0.1186, allocations: 417.1 kB / 300.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.1186, allocations: 11.41 kB / 300.2 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008892/0.1195, allocations: 2.013 MB / 302.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1195, allocations: 0 / 302.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.1202, allocations: 0.6494 MB / 302.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.666e-05/0.1203, allocations: 42.81 kB / 303 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.1203, allocations: 20.61 kB / 303 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.1205, allocations: 32.41 kB / 303 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.1205, allocations: 39.02 kB / 303 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1205, allocations: 11.7 kB / 303.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.045e-05/0.1206, allocations: 89.44 kB / 303.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1206, allocations: 0 / 303.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.1209, allocations: 99.38 kB / 303.2 MB, free: 12.66 MB / 266.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.0001441/0.121, allocations: 119.1 kB / 303.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005052/0.1215, allocations: 495.4 kB / 303.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.1215, allocations: 2.688 kB / 303.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.1218, allocations: 363.2 kB / 304.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.1219, allocations: 45.7 kB / 304.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008249/0.1228, allocations: 0.5845 MB / 304.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.1228, allocations: 89.47 kB / 304.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.284e-05/0.1229, allocations: 31.62 kB / 304.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.513e-05/0.123, allocations: 101 kB / 305 MB, free: 11.66 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.123, allocations: 1.703 kB / 305 MB, free: 11.66 MB / 266.7 MB Notification: Performance of Templates: time 0.007055/0.13, allocations: 6.294 MB / 311.3 MB, free: 7.941 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.makefile [Timeout 660] (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 & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.799737741239369]