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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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: "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableTransformers.VariableTransformer1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 106.2 kB / 16.44 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 197.5 kB / 17.38 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.08804/0.08804, allocations: 8.103 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 63.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1057, allocations: 51.52 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.005289/0.111, allocations: 2.661 MB / 468.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002939/0.114, allocations: 1.367 MB / 469.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000354/0.1144, allocations: 4 kB / 469.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.1153, allocations: 259 kB / 469.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000982/0.1163, allocations: 254.8 kB / 470 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.1186, allocations: 1.027 MB / 471.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009008/0.1196, allocations: 470.4 kB / 471.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.1198, allocations: 72.98 kB / 471.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.1201, allocations: 207.3 kB / 471.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000407/0.1205, allocations: 303 kB / 472.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/0.1206, allocations: 36 kB / 472.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000756/0.1214, allocations: 323.7 kB / 472.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.1216, allocations: 135.6 kB / 472.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.1219, allocations: 250.4 kB / 472.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.123, allocations: 0.7238 MB / 473.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1231, allocations: 0 / 473.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1231, allocations: 0 / 473.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1231, allocations: 4 kB / 473.5 MB, free: 10.59 MB / 350.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.00428/0.1274, allocations: 1.381 MB / 474.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1274, allocations: 11.89 kB / 474.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.559e-05/0.1275, allocations: 58.72 kB / 475 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.1277, allocations: 68.52 kB / 475.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.1285, allocations: 476.2 kB / 475.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.1285, allocations: 16.38 kB / 475.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.1286, allocations: 24.12 kB / 475.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.1294, allocations: 414.2 kB / 476 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1294, allocations: 0 / 476 MB, free: 8.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.1294, allocations: 15.94 kB / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1294, allocations: 0 / 476 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.1301, allocations: 344.9 kB / 476.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.1319, allocations: 1.109 MB / 477.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1329, allocations: 0.5106 MB / 477.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.1334, allocations: 277 kB / 478.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001433/0.1349, allocations: 0.8627 MB / 479.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008779/0.1358, allocations: 484.6 kB / 479.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 3.687e-06/0.1358, allocations: 0 / 479.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003894/0.1397, allocations: 1.409 MB / 481 MB, free: 2.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002356/0.1399, allocations: 251.5 kB / 481.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009864/0.1409, allocations: 0.6787 MB / 481.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.141, allocations: 33.7 kB / 481.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.1413, allocations: 268.8 kB / 482.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1414, allocations: 115.1 kB / 482.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.1416, allocations: 93.98 kB / 482.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.1418, allocations: 374.8 kB / 482.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.1422, allocations: 200.9 kB / 482.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.1426, allocations: 303.2 kB / 483.2 MB, free: 372 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.1465, allocations: 1.402 MB / 484.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1465, allocations: 0 / 484.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002097/0.1486, allocations: 0.9349 MB / 485.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.1488, allocations: 75.33 kB / 485.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.1488, allocations: 4 kB / 485.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.1504, allocations: 359.3 kB / 486 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.1507, allocations: 59.91 kB / 486.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.1533, allocations: 2.257 MB / 488.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.1539, allocations: 87.8 kB / 488.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/0.154, allocations: 20 kB / 488.4 MB, free: 10.87 MB / 366.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.0007522/0.1547, allocations: 340.2 kB / 488.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.1549, allocations: 67.69 kB / 488.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.1576, allocations: 1.165 MB / 490 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.1576, allocations: 4 kB / 490 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1577, allocations: 0 / 490 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1577, allocations: 3.984 kB / 490 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007489/0.1584, allocations: 0.5479 MB / 490.5 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.1584, allocations: 4 kB / 490.5 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.1586, allocations: 31.92 kB / 490.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001648/0.1603, allocations: 403.1 kB / 491 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.1603, allocations: 19.92 kB / 491 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/0.1635, allocations: 2.373 MB / 493.4 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1635, allocations: 4.062 kB / 493.4 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.1661, allocations: 1.174 MB / 494.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.1665, allocations: 204.5 kB / 494.7 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.1666, allocations: 23.98 kB / 494.8 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.1671, allocations: 59.89 kB / 494.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.1672, allocations: 35.95 kB / 494.9 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.1673, allocations: 19.98 kB / 494.9 MB, free: 4.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007483/0.1681, allocations: 494.8 kB / 495.4 MB, free: 3.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1681, allocations: 0 / 495.4 MB, free: 3.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006275/0.1687, allocations: 143.9 kB / 495.5 MB, free: 3.461 MB / 366.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.003181/0.1719, allocations: 1.792 MB / 497.3 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001805/0.1737, allocations: 0.8804 MB / 498.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.1737, allocations: 4 kB / 498.2 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.175, allocations: 0.7167 MB / 498.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.1754, allocations: 58.94 kB / 498.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.1869, allocations: 6.995 MB / 0.4941 GB, free: 8.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/0.1875, allocations: 0.8795 MB / 0.4949 GB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.1877, allocations: 55.25 kB / 0.495 GB, free: 7.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.188, allocations: 187.4 kB / 0.4952 GB, free: 7.574 MB / 382.1 MB Notification: Performance of SimCode: time 3.377e-06/0.188, allocations: 0 / 0.4952 GB, free: 7.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.321/0.509, allocations: 14.28 MB / 0.5091 GB, free: 46.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.71, allocations: 17.59 kB / 0.5091 GB, free: 46.85 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableTransformers_VariableTransformer1.fmu > PowerSysPro_PowerSysPro.Examples.VariableTransformers.VariableTransformer1.pipe 2>&1)