Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.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.0009768/0.0009768, allocations: 80.06 kB / 20.76 MB, free: 3.73 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.0009233/0.0009233, allocations: 173 kB / 24.19 MB, free: 316 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.9021/0.9021, allocations: 177.2 MB / 204.6 MB, free: 5.438 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.02452/0.02452, allocations: 4.486 MB / 265.6 MB, free: 8.402 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.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") translateModel(PowerSysPro.Examples.VariableTransformers.WithVariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 3.938 kB / 283.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.43e-05, allocations: 2.312 kB / 283.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.WithVariableLoad): time 0.006321/0.006335, allocations: 3.095 MB / 286.8 MB, free: 3.164 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004588/0.01092, allocations: 1.133 MB / 287.9 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.01104, allocations: 4 kB / 287.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.01142, allocations: 174.8 kB / 288.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.01192, allocations: 262.2 kB / 288.3 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00456/0.01648, allocations: 1.233 MB / 289.6 MB, free: 364 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.09965/0.1161, allocations: 0.5031 MB / 290.1 MB, free: 19.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.1163, allocations: 85.97 kB / 290.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.1167, allocations: 289.8 kB / 290.4 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.117, allocations: 189.7 kB / 290.6 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.568e-05/0.117, allocations: 42.25 kB / 290.7 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005529/0.1176, allocations: 315.4 kB / 291 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.149e-05/0.1176, allocations: 90.02 kB / 291.1 MB, free: 19.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1178, allocations: 157.8 kB / 291.2 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006474/0.1184, allocations: 0.6188 MB / 291.8 MB, free: 19.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1184, allocations: 1.812 kB / 291.8 MB, free: 19.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1184, allocations: 0 / 291.8 MB, free: 19.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1184, allocations: 0.9375 kB / 291.8 MB, free: 19.23 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.002358/0.1208, allocations: 1.287 MB / 293.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.1208, allocations: 8.5 kB / 293.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1209, allocations: 60.58 kB / 293.2 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1212, allocations: 228.3 kB / 293.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.1212, allocations: 56.33 kB / 293.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.1213, allocations: 32.55 kB / 293.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.1216, allocations: 420.7 kB / 293.9 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1217, allocations: 1.594 kB / 293.9 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.1217, allocations: 12.66 kB / 293.9 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1217, allocations: 9.688 kB / 293.9 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.1219, allocations: 179.7 kB / 294.1 MB, free: 18.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1231, allocations: 0.7785 MB / 294.9 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.1235, allocations: 355.5 kB / 295.2 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.1236, allocations: 130.2 kB / 295.4 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.382e-05/0.1237, allocations: 15.81 kB / 295.4 MB, free: 17.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/0.124, allocations: 0.5114 MB / 295.9 MB, free: 17.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 1.693e-06/0.124, allocations: 0 / 295.9 MB, free: 17.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.002303/0.1263, allocations: 1.17 MB / 297.1 MB, free: 17.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.1264, allocations: 195.1 kB / 297.3 MB, free: 17.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1265, allocations: 291.8 kB / 297.5 MB, free: 17.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.1266, allocations: 37.02 kB / 297.6 MB, free: 17.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.1266, allocations: 160.2 kB / 297.7 MB, free: 16.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.1267, allocations: 164.4 kB / 297.9 MB, free: 16.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.1268, allocations: 108.3 kB / 298 MB, free: 16.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.1269, allocations: 359.8 kB / 298.4 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.127, allocations: 141.7 kB / 298.5 MB, free: 16.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.1272, allocations: 213 kB / 298.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.1277, allocations: 0.5126 MB / 299.2 MB, free: 16.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1277, allocations: 0 / 299.2 MB, free: 16.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001301/0.129, allocations: 0.8349 MB / 300 MB, free: 16.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.129, allocations: 38.12 kB / 300.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.129, allocations: 0.9688 kB / 300.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.1306, allocations: 0.7325 MB / 300.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1307, allocations: 80.02 kB / 300.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006653/0.1314, allocations: 0.9388 MB / 301.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1316, allocations: 77.34 kB / 301.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.1316, allocations: 12.88 kB / 301.9 MB, free: 15.27 MB / 266.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: 3 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.varTra.tapChanger.tap,$PRE.varTra.tapChanger.furtherTapChangeTimeout,$PRE.varTra.tapChanger.abnormalUTime,varLoad.degradedMode,$PRE.varLoad.degradedMode,varTra.tapChanger.furtherTapChangeTimeout,varTra.tapChanger.increaseEvent,varTra.tapChanger.decreaseEvent,varTra.tapChanger.normalU,varTra.tapChanger.abnormalUTime,varTra.tapChanger.tap,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.1318, allocations: 195.4 kB / 302.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.79e-05/0.1319, allocations: 49.2 kB / 302.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.1325, allocations: 0.6011 MB / 302.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.1325, allocations: 12.44 kB / 302.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1325, allocations: 1.562 kB / 302.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1325, allocations: 2.016 kB / 302.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002524/0.1327, allocations: 307.3 kB / 303.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1327, allocations: 0 / 303.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.1328, allocations: 41.77 kB / 303.1 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.1343, allocations: 0.7885 MB / 303.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.1344, allocations: 14.88 kB / 303.9 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006116/0.135, allocations: 1.03 MB / 305 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.135, allocations: 0 / 305 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.1354, allocations: 0.5871 MB / 305.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1356, allocations: 66.06 kB / 305.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.1356, allocations: 26.81 kB / 305.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.1358, allocations: 43.22 kB / 305.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.1359, allocations: 49.34 kB / 305.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.1359, allocations: 12 kB / 305.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.97e-05/0.136, allocations: 123 kB / 305.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.136, allocations: 0 / 305.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.1362, allocations: 136.1 kB / 306 MB, free: 13.03 MB / 266.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: 12 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,varTra.tapChanger.tap,varTra.tapChanger.abnormalUTime,varTra.tapChanger.normalU,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.furtherTapChangeTimeout,varLoad.degradedMode) * Number of discrete states: 11 (varTra.tapChanger.tap,varTra.tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,varTra.tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,varTra.tapChanger.decreaseEvent,varTra.tapChanger.increaseEvent,varTra.tapChanger.normalU,varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.1364, allocations: 135.9 kB / 306.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006321/0.137, allocations: 0.5538 MB / 306.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.137, allocations: 8 kB / 306.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.1374, allocations: 370.7 kB / 307 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.1376, allocations: 55.88 kB / 307.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009234/0.1385, allocations: 0.7739 MB / 307.9 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.854e-05/0.1385, allocations: 110.4 kB / 308 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.868e-05/0.1386, allocations: 47.52 kB / 308 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1387, allocations: 107.3 kB / 308.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of SimCode: time 9.21e-07/0.1387, allocations: 0 / 308.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Templates: time 0.008508/0.1472, allocations: 9.519 MB / 317.7 MB, free: 1.484 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.WithVariableLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7985965572297573]