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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 111.3 kB / 19.74 MB, free: 2.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 189.2 kB / 23.02 MB, free: 5.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05877/0.05877, allocations: 8.235 MB / 315.3 MB, free: 416 kB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.00198/0.00198, allocations: 64.08 kB / 439.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1245, allocations: 54.39 MB / 494.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003608/0.1281, allocations: 1.852 MB / 496 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.1307, allocations: 1.711 MB / 497.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1308, allocations: 4 kB / 497.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004549/0.1313, allocations: 143.2 kB / 497.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.1317, allocations: 147 kB / 498 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001811/0.1335, allocations: 0.9631 MB / 498.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006502/0.1341, allocations: 366.6 kB / 499.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.1343, allocations: 40.91 kB / 499.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.1344, allocations: 147.5 kB / 499.5 MB, free: 368 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.1347, allocations: 151.4 kB / 499.6 MB, free: 216 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.1347, allocations: 32 kB / 499.7 MB, free: 184 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.1352, allocations: 239.9 kB / 499.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.1352, allocations: 59.62 kB / 500 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.1354, allocations: 155.3 kB / 0.4884 GB, free: 15.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006942/0.1361, allocations: 0.5022 MB / 0.4889 GB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1361, allocations: 0 / 0.4889 GB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1361, allocations: 0 / 0.4889 GB, free: 15.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1361, allocations: 0 / 0.4889 GB, free: 15.23 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.00398/0.1401, allocations: 0.9898 MB / 0.4898 GB, free: 14.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1402, allocations: 11.89 kB / 0.4899 GB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.1403, allocations: 36.75 kB / 0.4899 GB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.1406, allocations: 237.1 kB / 0.4901 GB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.1407, allocations: 16.31 kB / 0.4901 GB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.1408, allocations: 24.56 kB / 0.4902 GB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007002/0.1415, allocations: 347.1 kB / 0.4905 GB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1415, allocations: 0 / 0.4905 GB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.1415, allocations: 8 kB / 0.4905 GB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1415, allocations: 4 kB / 0.4905 GB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005663/0.1421, allocations: 275.8 kB / 0.4908 GB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.1437, allocations: 0.8963 MB / 0.4916 GB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008899/0.1446, allocations: 314.1 kB / 0.4919 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.1449, allocations: 160.8 kB / 0.4921 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.146, allocations: 0.6328 MB / 0.4927 GB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007209/0.1467, allocations: 380.2 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.1467, allocations: 4 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.0029/0.1496, allocations: 0.8118 MB / 0.4939 GB, free: 9.891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.1497, allocations: 229.5 kB / 0.4941 GB, free: 9.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.15, allocations: 257.9 kB / 0.4943 GB, free: 9.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.1501, allocations: 41.7 kB / 0.4944 GB, free: 9.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1502, allocations: 144.9 kB / 0.4945 GB, free: 9.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1503, allocations: 103.2 kB / 0.4946 GB, free: 9.059 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.1504, allocations: 85.62 kB / 0.4947 GB, free: 8.969 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1506, allocations: 334.8 kB / 0.495 GB, free: 8.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.1508, allocations: 140.4 kB / 0.4951 GB, free: 8.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.1512, allocations: 238.4 kB / 0.4954 GB, free: 8.223 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.1546, allocations: 1.024 MB / 0.4964 GB, free: 7.137 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1546, allocations: 0 / 0.4964 GB, free: 7.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001212/0.1558, allocations: 0.5783 MB / 0.4969 GB, free: 6.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.1558, allocations: 37.7 kB / 0.497 GB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1558, allocations: 7.984 kB / 0.497 GB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.1574, allocations: 355.3 kB / 0.4973 GB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1577, allocations: 63.91 kB / 0.4974 GB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/0.1601, allocations: 2.165 MB / 0.4995 GB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.1606, allocations: 75.81 kB / 0.4996 GB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.1606, allocations: 23.98 kB / 0.4996 GB, free: 3.66 MB / 366.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.0003669/0.161, allocations: 217 kB / 0.4998 GB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.1611, allocations: 39.75 kB / 0.4998 GB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.1629, allocations: 0.6674 MB / 0.5005 GB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1629, allocations: 4 kB / 0.5005 GB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1629, allocations: 3.938 kB / 0.5005 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1629, allocations: 3.938 kB / 0.5005 GB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.1634, allocations: 416.1 kB / 0.5009 GB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1634, allocations: 4 kB / 0.5009 GB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.1636, allocations: 27.98 kB / 0.5009 GB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.1652, allocations: 411.5 kB / 0.5013 GB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.1653, allocations: 15.98 kB / 0.5013 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002864/0.1681, allocations: 2.273 MB / 0.5035 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1681, allocations: 0 / 0.5035 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.1703, allocations: 0.8872 MB / 0.5044 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.1705, allocations: 75.72 kB / 0.5045 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.992e-05/0.1705, allocations: 24 kB / 0.5045 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.1709, allocations: 60 kB / 0.5046 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.1711, allocations: 31.95 kB / 0.5046 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.1711, allocations: 15.98 kB / 0.5046 GB, free: 14.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002416/0.1713, allocations: 189.2 kB / 0.5048 GB, free: 14.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1713, allocations: 0 / 0.5048 GB, free: 14.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.1718, allocations: 99.94 kB / 0.5049 GB, free: 13.97 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.000308/0.1722, allocations: 151.6 kB / 0.505 GB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.1737, allocations: 0.5603 MB / 0.5056 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.1737, allocations: 4 kB / 0.5056 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008533/0.1745, allocations: 385.9 kB / 0.506 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.1748, allocations: 44.22 kB / 0.506 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1761, allocations: 0.6197 MB / 0.5066 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.1766, allocations: 0.7605 MB / 0.5073 GB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.1768, allocations: 38.27 kB / 0.5074 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/0.1768, allocations: 23.44 kB / 0.5074 GB, free: 11.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1768, allocations: 0 / 0.5074 GB, free: 11.28 MB / 382.1 MB Notification: Performance of Templates: time 0.01508/0.1919, allocations: 6.762 MB / 0.514 GB, free: 4.559 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 sys.exit(0), Time elapsed: 5.2132772747427225] Failed to read output from testmodel.py, exit status != 0: 0.2008180357515812 0.41515506500000005 0.276153614 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe95d2a97b0>