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.001735/0.001735, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.002051/0.002051, allocations: 217.2 kB / 23.82 MB, free: 4.512 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.558/1.558, allocations: 230.6 MB / 257.6 MB, free: 7.809 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.03657/0.03657, allocations: 6.13 MB / 320.1 MB, free: 12.76 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: "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.92 kB / 445.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1233, allocations: 55.03 MB / 0.4885 GB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer2): time 0.003491/0.1268, allocations: 1.653 MB / 0.4901 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.1298, allocations: 1.665 MB / 0.4918 GB, free: 10.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1299, allocations: 4 kB / 0.4918 GB, free: 10.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.1304, allocations: 143.2 kB / 0.4919 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004818/0.1309, allocations: 143.1 kB / 0.492 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.1328, allocations: 0.8661 MB / 0.4929 GB, free: 9.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.1333, allocations: 350.7 kB / 0.4932 GB, free: 9.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.1335, allocations: 40.86 kB / 0.4932 GB, free: 9.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.1336, allocations: 143.5 kB / 0.4934 GB, free: 8.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1339, allocations: 163.3 kB / 0.4935 GB, free: 8.801 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.1339, allocations: 28 kB / 0.4936 GB, free: 8.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004793/0.1344, allocations: 247.8 kB / 0.4938 GB, free: 8.531 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.779e-05/0.1345, allocations: 55.77 kB / 0.4939 GB, free: 8.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.1347, allocations: 123.4 kB / 0.494 GB, free: 8.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007274/0.1354, allocations: 0.5061 MB / 0.4945 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1354, allocations: 0 / 0.4945 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1354, allocations: 0 / 0.4945 GB, free: 7.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.1354, allocations: 0 / 0.4945 GB, free: 7.848 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.003991/0.1394, allocations: 1.005 MB / 0.4955 GB, free: 6.805 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.1394, allocations: 12.03 kB / 0.4955 GB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.115e-05/0.1394, allocations: 4.188 kB / 0.4955 GB, free: 6.789 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.633e-05/0.1395, allocations: 50.73 kB / 0.4955 GB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.833e-05/0.1396, allocations: 32.75 kB / 0.4955 GB, free: 6.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1399, allocations: 237.1 kB / 0.4958 GB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.14, allocations: 12.38 kB / 0.4958 GB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.1401, allocations: 28.31 kB / 0.4958 GB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/0.1409, allocations: 0.497 MB / 0.4963 GB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1409, allocations: 0 / 0.4963 GB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.1409, allocations: 8 kB / 0.4963 GB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1409, allocations: 8 kB / 0.4963 GB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/0.1415, allocations: 313.5 kB / 0.4966 GB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.1429, allocations: 0.6868 MB / 0.4973 GB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008744/0.1438, allocations: 336.1 kB / 0.4976 GB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.1441, allocations: 198.5 kB / 0.4978 GB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008938/0.145, allocations: 0.5779 MB / 0.4984 GB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007492/0.1458, allocations: 0.5125 MB / 0.4989 GB, free: 3.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.1458, allocations: 3.938 kB / 0.4989 GB, free: 3.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002967/0.1488, allocations: 0.9416 MB / 0.4998 GB, free: 2.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/0.1489, allocations: 217.6 kB / 0.5 GB, free: 1.828 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1492, allocations: 265.8 kB / 0.5002 GB, free: 1.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.1492, allocations: 33.7 kB / 0.5003 GB, free: 1.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1493, allocations: 148.8 kB / 0.5004 GB, free: 1.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/0.1494, allocations: 107.1 kB / 0.5005 GB, free: 1.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.1496, allocations: 77.69 kB / 0.5006 GB, free: 1.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1497, allocations: 342.8 kB / 0.5009 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.15, allocations: 166.1 kB / 0.5011 GB, free: 0.6719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.1504, allocations: 327.7 kB / 0.5014 GB, free: 296 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/0.1538, allocations: 1.033 MB / 0.5024 GB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1538, allocations: 0 / 0.5024 GB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001234/0.1551, allocations: 0.6633 MB / 0.503 GB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.1551, allocations: 37.69 kB / 0.5031 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1551, allocations: 8 kB / 0.5031 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.1567, allocations: 397 kB / 0.5035 GB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.157, allocations: 63.91 kB / 0.5035 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.1593, allocations: 2.225 MB / 0.5057 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004815/0.1598, allocations: 75.84 kB / 0.5058 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.023e-05/0.1598, allocations: 23.98 kB / 0.5058 GB, free: 11.5 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.0003474/0.1602, allocations: 230.4 kB / 0.506 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.973e-05/0.1603, allocations: 35.75 kB / 0.506 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.1621, allocations: 0.7579 MB / 0.5068 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.1621, allocations: 7.938 kB / 0.5068 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1621, allocations: 3.938 kB / 0.5068 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1621, allocations: 3.984 kB / 0.5068 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.1625, allocations: 340.5 kB / 0.5071 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1625, allocations: 4 kB / 0.5071 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.1627, allocations: 36.05 kB / 0.5072 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.1644, allocations: 461.2 kB / 0.5076 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.1644, allocations: 8 kB / 0.5076 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/0.167, allocations: 2.348 MB / 0.5099 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.167, allocations: 3.938 kB / 0.5099 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.1693, allocations: 1.012 MB / 0.5109 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.1695, allocations: 75.72 kB / 0.511 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.993e-05/0.1695, allocations: 23.95 kB / 0.511 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.1699, allocations: 51.94 kB / 0.511 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.1701, allocations: 35.95 kB / 0.5111 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.1701, allocations: 15.98 kB / 0.5111 GB, free: 5.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.1703, allocations: 189.2 kB / 0.5113 GB, free: 5.578 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1703, allocations: 8 kB / 0.5113 GB, free: 5.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005004/0.1708, allocations: 95.94 kB / 0.5114 GB, free: 5.477 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.002851/0.1737, allocations: 1.597 MB / 0.5129 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.1751, allocations: 0.6458 MB / 0.5136 GB, free: 3.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.1751, allocations: 4 kB / 0.5136 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.176, allocations: 435.4 kB / 0.514 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.1763, allocations: 36.44 kB / 0.514 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2089/0.3852, allocations: 3.754 MB / 0.5177 GB, free: 30.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.3853, allocations: 151.4 kB / 0.5178 GB, free: 29.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.3855, allocations: 28.8 kB / 0.5179 GB, free: 29.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3856, allocations: 97.34 kB / 0.5179 GB, free: 29.97 MB / 382.1 MB Notification: Performance of SimCode: time 1.744e-06/0.3856, allocations: 0 / 0.5179 GB, free: 29.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.4203, allocations: 9.099 MB / 0.5268 GB, free: 28.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.26, allocations: 9.453 kB / 0.5268 GB, free: 28.94 MB / 382.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2_fmu --startTime=0 --stopTime=3000 --stepSize=1.2 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer2.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.10864865896292] Failed to read output from testmodel.py, exit status != 0: 14.436654910910875 14.45276369 14.313269122 Calling exit ...