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.001287/0.001287, allocations: 75.75 kB / 20.55 MB, free: 1.082 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.001405/0.001405, allocations: 158.9 kB / 23.8 MB, free: 4.168 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.416/1.416, allocations: 177.2 MB / 204.2 MB, free: 9.051 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.03549/0.03549, allocations: 4.476 MB / 265 MB, free: 12.26 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.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.001579/0.001579, allocations: 55.92 kB / 390.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09675, allocations: 54.99 MB / 445.6 MB, free: 6.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003741/0.1005, allocations: 2.486 MB / 448.1 MB, free: 4.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.1028, allocations: 1.312 MB / 449.4 MB, free: 3.047 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1029, allocations: 11.88 kB / 449.4 MB, free: 3.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.1034, allocations: 247 kB / 449.7 MB, free: 2.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.1038, allocations: 262.8 kB / 449.9 MB, free: 2.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.1057, allocations: 0.9416 MB / 450.8 MB, free: 1.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005667/0.1063, allocations: 442.5 kB / 451.3 MB, free: 1.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1064, allocations: 44.89 kB / 451.3 MB, free: 1.113 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.1067, allocations: 203.4 kB / 451.5 MB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.1071, allocations: 303 kB / 451.8 MB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.489e-05/0.1071, allocations: 32 kB / 451.9 MB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005264/0.1076, allocations: 311.7 kB / 452.2 MB, free: 288 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.1078, allocations: 143.5 kB / 452.3 MB, free: 144 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.108, allocations: 194.8 kB / 452.5 MB, free: 15.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008919/0.1089, allocations: 0.7394 MB / 453.2 MB, free: 15.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1089, allocations: 4 kB / 453.2 MB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1089, allocations: 3.938 kB / 453.2 MB, free: 15.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.109, allocations: 0 / 453.2 MB, free: 15.2 MB / 430.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.004232/0.1132, allocations: 1.313 MB / 454.5 MB, free: 13.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1132, allocations: 8.031 kB / 454.6 MB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.1133, allocations: 68.52 kB / 454.6 MB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/0.114, allocations: 418.4 kB / 455 MB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.114, allocations: 20.38 kB / 455 MB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.1141, allocations: 20.38 kB / 455.1 MB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008874/0.115, allocations: 0.6038 MB / 455.7 MB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.115, allocations: 0 / 455.7 MB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.115, allocations: 8 kB / 455.7 MB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.115, allocations: 7.938 kB / 455.7 MB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.1157, allocations: 412.3 kB / 456.1 MB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.1173, allocations: 0.829 MB / 456.9 MB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009613/0.1182, allocations: 446.4 kB / 457.4 MB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/0.1187, allocations: 288.3 kB / 457.6 MB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009959/0.1197, allocations: 0.6134 MB / 458.3 MB, free: 9.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007776/0.1205, allocations: 0.6511 MB / 458.9 MB, free: 9.223 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/0.1205, allocations: 4 kB / 458.9 MB, free: 9.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=40): time 0.003623/0.1241, allocations: 1.384 MB / 460.3 MB, free: 7.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/0.1243, allocations: 251.5 kB / 460.5 MB, free: 7.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008447/0.1251, allocations: 0.6787 MB / 461.2 MB, free: 6.793 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.1252, allocations: 37.7 kB / 461.3 MB, free: 6.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.1254, allocations: 264.8 kB / 461.5 MB, free: 6.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1255, allocations: 123 kB / 461.6 MB, free: 6.367 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.1257, allocations: 94.05 kB / 461.7 MB, free: 6.266 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1259, allocations: 374.8 kB / 462.1 MB, free: 5.891 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.1262, allocations: 264.2 kB / 462.3 MB, free: 5.621 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.1267, allocations: 429.5 kB / 462.8 MB, free: 5.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003679/0.1304, allocations: 1.412 MB / 464.2 MB, free: 3.637 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1304, allocations: 0 / 464.2 MB, free: 3.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001984/0.1324, allocations: 1.035 MB / 465.2 MB, free: 2.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.622e-05/0.1325, allocations: 67.39 kB / 465.3 MB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.1325, allocations: 4 kB / 465.3 MB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/0.134, allocations: 396.9 kB / 465.7 MB, free: 2.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.1343, allocations: 59.91 kB / 465.7 MB, free: 2.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.1366, allocations: 2.208 MB / 467.9 MB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.1371, allocations: 75.84 kB / 468 MB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.1371, allocations: 27.92 kB / 468 MB, free: 15.55 MB / 446.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.0004349/0.1376, allocations: 328.3 kB / 468.4 MB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.1377, allocations: 71.58 kB / 468.4 MB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.1402, allocations: 1.13 MB / 469.6 MB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1402, allocations: 8 kB / 469.6 MB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.1402, allocations: 7.922 kB / 469.6 MB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1402, allocations: 0 / 469.6 MB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004937/0.1407, allocations: 412.9 kB / 470 MB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1407, allocations: 0 / 470 MB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1408, allocations: 31.92 kB / 470 MB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/0.1424, allocations: 444.8 kB / 470.4 MB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.1425, allocations: 19.98 kB / 470.5 MB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/0.1451, allocations: 2.332 MB / 472.8 MB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1451, allocations: 4.031 kB / 472.8 MB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/0.1475, allocations: 1.143 MB / 473.9 MB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.1477, allocations: 119.5 kB / 474.1 MB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.1478, allocations: 27.98 kB / 474.1 MB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.1482, allocations: 55.95 kB / 474.1 MB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1483, allocations: 35.94 kB / 474.2 MB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.896e-05/0.1484, allocations: 19.98 kB / 474.2 MB, free: 9.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006157/0.149, allocations: 498.8 kB / 474.7 MB, free: 8.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.149, allocations: 0 / 474.7 MB, free: 8.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004945/0.1495, allocations: 135.9 kB / 474.8 MB, free: 8.457 MB / 446.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.000286/0.1498, allocations: 175 kB / 475 MB, free: 8.277 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.1514, allocations: 0.9222 MB / 475.9 MB, free: 7.293 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1514, allocations: 0 / 475.9 MB, free: 7.293 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.1524, allocations: 0.5943 MB / 476.5 MB, free: 6.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.1528, allocations: 47 kB / 476.5 MB, free: 6.605 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.1546, allocations: 1.163 MB / 477.7 MB, free: 5.398 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1549, allocations: 274 kB / 478 MB, free: 5.105 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001337/0.1551, allocations: 59.25 kB / 478 MB, free: 5.051 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.1552, allocations: 28.5 kB / 478.1 MB, free: 5.023 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1552, allocations: 3.938 kB / 478.1 MB, free: 5.02 MB / 446.1 MB Notification: Performance of Templates: time 0.2278/0.3829, allocations: 7.783 MB / 485.8 MB, free: 77.16 MB / 446.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 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.778715317952447] Failed to read output from testmodel.py, exit status != 0: 0.39161011192481965 0.40754481400000003 0.29526040400000003 Calling exit ...