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.001523/0.001523, allocations: 100.4 kB / 20.48 MB, free: 1.227 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.001701/0.001701, allocations: 212 kB / 23.79 MB, free: 4.414 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.373/1.373, allocations: 230.6 MB / 257.6 MB, free: 7.797 MB / 206.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.0367/0.0367, allocations: 6.142 MB / 320.1 MB, free: 12.75 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.001492/0.001492, allocations: 51.92 kB / 445.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1022, allocations: 55.03 MB / 0.489 GB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003049/0.1052, allocations: 1.656 MB / 0.4906 GB, free: 11.81 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.1076, allocations: 1.669 MB / 0.4922 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.1077, allocations: 4 kB / 0.4922 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.108, allocations: 139.3 kB / 0.4924 GB, free: 9.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003385/0.1084, allocations: 143.1 kB / 0.4925 GB, free: 9.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.1101, allocations: 0.8698 MB / 0.4933 GB, free: 8.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.1106, allocations: 342.7 kB / 0.4937 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1107, allocations: 40.91 kB / 0.4937 GB, free: 8.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.1109, allocations: 139.5 kB / 0.4938 GB, free: 8.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.1111, allocations: 139.3 kB / 0.494 GB, free: 8.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.547e-05/0.1111, allocations: 31.94 kB / 0.494 GB, free: 8.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.1116, allocations: 243.8 kB / 0.4942 GB, free: 8.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.876e-05/0.1116, allocations: 55.7 kB / 0.4943 GB, free: 7.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.1118, allocations: 123.4 kB / 0.4944 GB, free: 7.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006493/0.1124, allocations: 0.5061 MB / 0.4949 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1124, allocations: 0 / 0.4949 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1124, allocations: 0 / 0.4949 GB, free: 7.367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1124, allocations: 0 / 0.4949 GB, free: 7.367 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.003771/0.1162, allocations: 1.001 MB / 0.4959 GB, free: 6.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1162, allocations: 8.031 kB / 0.4959 GB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1163, allocations: 36.75 kB / 0.4959 GB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.1167, allocations: 233 kB / 0.4961 GB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.1167, allocations: 24.38 kB / 0.4962 GB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.1168, allocations: 24.56 kB / 0.4962 GB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007767/0.1176, allocations: 0.5011 MB / 0.4967 GB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1176, allocations: 0 / 0.4967 GB, free: 5.434 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.14e-05/0.1177, allocations: 4 kB / 0.4967 GB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1177, allocations: 4 kB / 0.4967 GB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.1182, allocations: 305.5 kB / 0.497 GB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.1195, allocations: 0.6678 MB / 0.4976 GB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.1204, allocations: 340.1 kB / 0.498 GB, free: 4.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.1208, allocations: 190.5 kB / 0.4981 GB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009016/0.1217, allocations: 0.5739 MB / 0.4987 GB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000751/0.1224, allocations: 0.5223 MB / 0.4992 GB, free: 2.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.1224, allocations: 0 / 0.4992 GB, free: 2.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002826/0.1252, allocations: 0.9394 MB / 0.5001 GB, free: 1.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.1254, allocations: 221.6 kB / 0.5003 GB, free: 1.457 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.1257, allocations: 265.8 kB / 0.5006 GB, free: 1.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.1257, allocations: 33.7 kB / 0.5006 GB, free: 1.152 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.1259, allocations: 148.9 kB / 0.5008 GB, free: 1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.972e-05/0.126, allocations: 103.1 kB / 0.5009 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.1261, allocations: 81.69 kB / 0.5009 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1263, allocations: 342.8 kB / 0.5013 GB, free: 480 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.1266, allocations: 166.1 kB / 0.5014 GB, free: 308 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.127, allocations: 331.6 kB / 0.5017 GB, free: 15.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.1301, allocations: 1.033 MB / 0.5027 GB, free: 14.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1301, allocations: 0 / 0.5027 GB, free: 14.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001187/0.1313, allocations: 0.6516 MB / 0.5034 GB, free: 14.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.1314, allocations: 41.62 kB / 0.5034 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1314, allocations: 4 kB / 0.5034 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.1328, allocations: 395.4 kB / 0.5038 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.1331, allocations: 63.91 kB / 0.5039 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/0.1355, allocations: 2.212 MB / 0.506 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.1359, allocations: 71.95 kB / 0.5061 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.1359, allocations: 16 kB / 0.5061 GB, free: 11.18 MB / 382.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.0003518/0.1363, allocations: 224.8 kB / 0.5063 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.1364, allocations: 35.81 kB / 0.5064 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.1381, allocations: 0.7578 MB / 0.5071 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1382, allocations: 8 kB / 0.5071 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.1382, allocations: 0 / 0.5071 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1382, allocations: 7.922 kB / 0.5071 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.1385, allocations: 316.8 kB / 0.5074 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1385, allocations: 0 / 0.5074 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.1387, allocations: 35.98 kB / 0.5075 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.1402, allocations: 449.3 kB / 0.5079 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.1403, allocations: 15.98 kB / 0.5079 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/0.1429, allocations: 2.334 MB / 0.5102 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1429, allocations: 3.938 kB / 0.5102 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.1451, allocations: 1.017 MB / 0.5112 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.1453, allocations: 75.72 kB / 0.5112 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.1453, allocations: 23.94 kB / 0.5113 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.1457, allocations: 56 kB / 0.5113 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.1458, allocations: 31.95 kB / 0.5113 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.1458, allocations: 19.98 kB / 0.5114 GB, free: 5.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002118/0.1461, allocations: 185.2 kB / 0.5115 GB, free: 5.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1461, allocations: 0 / 0.5115 GB, free: 5.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004427/0.1465, allocations: 95.98 kB / 0.5116 GB, free: 5.227 MB / 382.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.0002381/0.1467, allocations: 139.7 kB / 0.5118 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.1481, allocations: 0.6346 MB / 0.5124 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.1481, allocations: 4 kB / 0.5124 GB, free: 4.402 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.1489, allocations: 439.6 kB / 0.5128 GB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.1492, allocations: 32.36 kB / 0.5128 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1505, allocations: 0.697 MB / 0.5135 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001624/0.1506, allocations: 159.7 kB / 0.5137 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.1507, allocations: 27.44 kB / 0.5137 GB, free: 2.969 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1507, allocations: 0 / 0.5137 GB, free: 2.969 MB / 382.1 MB Notification: Performance of Templates: time 0.2036/0.3543, allocations: 6.333 MB / 0.5199 GB, free: 30.84 MB / 382.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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.210163033101708] Failed to read output from testmodel.py, exit status != 0: 0.36130358604714274 0.373342206 0.258444685 Calling exit ...