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.001308/0.001308, allocations: 75.05 kB / 20.55 MB, free: 1.242 MB / 14.72 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.001387/0.001387, allocations: 166.8 kB / 23.8 MB, free: 4.426 MB / 14.72 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 1.434/1.434, allocations: 177.2 MB / 204.2 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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.06082/0.06082, allocations: 4.478 MB / 265 MB, free: 12.19 MB / 254.1 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 0.00174/0.00174, allocations: 47.94 kB / 390.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09661/0.09835, allocations: 55 MB / 445.6 MB, free: 6.785 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003207/0.1016, allocations: 1.643 MB / 447.2 MB, free: 5.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1041, allocations: 1.68 MB / 448.9 MB, free: 3.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.1043, allocations: 4 kB / 448.9 MB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000431/0.1047, allocations: 139.2 kB / 449.1 MB, free: 3.305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.1051, allocations: 143.1 kB / 449.2 MB, free: 3.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.107, allocations: 0.8754 MB / 450.1 MB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1075, allocations: 346.7 kB / 450.4 MB, free: 1.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1076, allocations: 40.92 kB / 450.5 MB, free: 1.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1078, allocations: 147.5 kB / 450.6 MB, free: 1.762 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.108, allocations: 135.3 kB / 450.7 MB, free: 1.629 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.388e-05/0.1081, allocations: 28 kB / 450.8 MB, free: 1.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.1086, allocations: 239.8 kB / 451 MB, free: 1.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.1086, allocations: 47.83 kB / 451 MB, free: 1.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.1088, allocations: 131.4 kB / 451.2 MB, free: 1.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007714/0.1096, allocations: 0.5022 MB / 451.7 MB, free: 0.6875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1096, allocations: 4 kB / 451.7 MB, free: 0.6836 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1096, allocations: 0 / 451.7 MB, free: 0.6836 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1096, allocations: 0 / 451.7 MB, free: 0.6836 MB / 414.1 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.004061/0.1137, allocations: 1.009 MB / 452.7 MB, free: 15.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1137, allocations: 8.031 kB / 452.7 MB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1138, allocations: 36.73 kB / 452.7 MB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.1142, allocations: 241.5 kB / 453 MB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1142, allocations: 12.38 kB / 453 MB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.643e-05/0.1143, allocations: 28.55 kB / 453 MB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.1151, allocations: 0.4972 MB / 453.5 MB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1151, allocations: 4 kB / 453.5 MB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.1151, allocations: 8 kB / 453.5 MB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1151, allocations: 4 kB / 453.5 MB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005926/0.1157, allocations: 305.5 kB / 453.8 MB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.1171, allocations: 0.6639 MB / 454.5 MB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.118, allocations: 352.1 kB / 454.8 MB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.1184, allocations: 186.5 kB / 455 MB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009334/0.1193, allocations: 0.5663 MB / 455.6 MB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007673/0.1201, allocations: 0.5077 MB / 456.1 MB, free: 12.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.1201, allocations: 0 / 456.1 MB, free: 12.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.00297/0.1231, allocations: 0.934 MB / 457 MB, free: 11.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.1232, allocations: 225.5 kB / 457.2 MB, free: 10.78 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.1235, allocations: 265.8 kB / 457.5 MB, free: 10.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.1236, allocations: 37.7 kB / 457.5 MB, free: 10.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1237, allocations: 144.8 kB / 457.7 MB, free: 10.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.1238, allocations: 107.1 kB / 457.8 MB, free: 10.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1239, allocations: 81.67 kB / 457.9 MB, free: 10.13 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1241, allocations: 342.8 kB / 458.2 MB, free: 9.789 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.1244, allocations: 174.1 kB / 458.4 MB, free: 9.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.1248, allocations: 328.1 kB / 458.7 MB, free: 9.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003475/0.1283, allocations: 1.048 MB / 459.7 MB, free: 8.121 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1283, allocations: 4 kB / 459.7 MB, free: 8.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001263/0.1296, allocations: 0.6408 MB / 460.4 MB, free: 7.445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.1296, allocations: 45.62 kB / 460.4 MB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1296, allocations: 7.938 kB / 460.4 MB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.1312, allocations: 385 kB / 460.8 MB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.1315, allocations: 67.91 kB / 460.9 MB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002423/0.1339, allocations: 2.204 MB / 463.1 MB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/0.1344, allocations: 75.95 kB / 463.1 MB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.1344, allocations: 19.98 kB / 463.2 MB, free: 4.484 MB / 430.1 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.0003441/0.1348, allocations: 219.5 kB / 463.4 MB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.57e-05/0.1348, allocations: 31.81 kB / 463.4 MB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001892/0.1367, allocations: 0.7657 MB / 464.2 MB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.1367, allocations: 4 kB / 464.2 MB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1367, allocations: 11.92 kB / 464.2 MB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1368, allocations: 0 / 464.2 MB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.1372, allocations: 308.9 kB / 464.5 MB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1372, allocations: 0 / 464.5 MB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.1374, allocations: 31.92 kB / 464.5 MB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.139, allocations: 452.8 kB / 465 MB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.1391, allocations: 11.98 kB / 465 MB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003329/0.1424, allocations: 2.333 MB / 467.3 MB, free: 96 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1424, allocations: 0 / 467.3 MB, free: 96 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.1448, allocations: 1.024 MB / 468.3 MB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.145, allocations: 75.72 kB / 468.4 MB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.931e-05/0.1451, allocations: 19.94 kB / 468.4 MB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.1455, allocations: 51.94 kB / 468.5 MB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.1456, allocations: 39.89 kB / 468.5 MB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.1457, allocations: 24.05 kB / 468.5 MB, free: 14.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002276/0.1459, allocations: 189.2 kB / 468.7 MB, free: 14.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1459, allocations: 0 / 468.7 MB, free: 14.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004615/0.1463, allocations: 88 kB / 468.8 MB, free: 14.54 MB / 446.1 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.0002556/0.1466, allocations: 147.6 kB / 469 MB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.1481, allocations: 0.6376 MB / 469.6 MB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.1481, allocations: 0 / 469.6 MB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009259/0.149, allocations: 444.2 kB / 470 MB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1493, allocations: 36.5 kB / 470.1 MB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.1506, allocations: 0.6639 MB / 470.7 MB, free: 12.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.1507, allocations: 151.8 kB / 470.9 MB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.1509, allocations: 34.27 kB / 470.9 MB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.06e-05/0.1509, allocations: 28.5 kB / 470.9 MB, free: 12.29 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1509, allocations: 0 / 470.9 MB, free: 12.29 MB / 446.1 MB Notification: Performance of Templates: time 0.01205/0.163, allocations: 5.767 MB / 476.7 MB, free: 6.578 MB / 446.1 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=480 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.84973607910797] Failed to read output from testmodel.py, exit status != 0: 0.1719712750054896 0.339424703 0.226683917 Calling exit ...