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.001226/0.001226, allocations: 104.7 kB / 16.31 MB, free: 6.391 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.001264/0.001264, allocations: 190.5 kB / 17.24 MB, free: 5.922 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.332/1.332, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04632/0.04632, allocations: 8.096 MB / 299.2 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 59.89 kB / 361.8 MB, free: 7.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2471, allocations: 51.53 MB / 413.4 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003176/0.2503, allocations: 2.645 MB / 416 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.2522, allocations: 1.367 MB / 417.4 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.2524, allocations: 4 kB / 417.4 MB, free: 21.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004727/0.2529, allocations: 259 kB / 417.6 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.2532, allocations: 254.8 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2547, allocations: 1.019 MB / 418.9 MB, free: 19.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003677/0.255, allocations: 466.5 kB / 419.3 MB, free: 19.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.2552, allocations: 86.83 kB / 419.4 MB, free: 19.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.2553, allocations: 203.3 kB / 419.6 MB, free: 19.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.2556, allocations: 303.1 kB / 419.9 MB, free: 18.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.2556, allocations: 32 kB / 420 MB, free: 18.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003908/0.256, allocations: 323.6 kB / 420.3 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2561, allocations: 143.4 kB / 420.4 MB, free: 18.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.2563, allocations: 246.5 kB / 420.7 MB, free: 18.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005506/0.2568, allocations: 0.7126 MB / 421.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2569, allocations: 0 / 421.4 MB, free: 17.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2569, allocations: 4 kB / 421.4 MB, free: 17.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2569, allocations: 0 / 421.4 MB, free: 17.38 MB / 302.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.003539/0.2604, allocations: 1.35 MB / 422.7 MB, free: 15.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2605, allocations: 11.89 kB / 422.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.2605, allocations: 50.73 kB / 422.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.2607, allocations: 68.17 kB / 422.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.2611, allocations: 471.8 kB / 423.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2611, allocations: 16.38 kB / 423.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.2612, allocations: 28.12 kB / 423.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.2618, allocations: 414.1 kB / 423.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2619, allocations: 0 / 423.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.2619, allocations: 8 kB / 423.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2619, allocations: 4 kB / 423.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.2624, allocations: 340 kB / 424.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.2638, allocations: 1.113 MB / 425.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008159/0.2646, allocations: 0.515 MB / 425.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.265, allocations: 277 kB / 426 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008435/0.2658, allocations: 0.8626 MB / 426.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006257/0.2665, allocations: 488.5 kB / 427.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.2665, allocations: 4 kB / 427.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.003056/0.2696, allocations: 1.397 MB / 428.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.2697, allocations: 259.5 kB / 429 MB, free: 9.309 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.2702, allocations: 0.6748 MB / 429.7 MB, free: 8.625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.2703, allocations: 33.7 kB / 429.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.2704, allocations: 264.6 kB / 430 MB, free: 8.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.284e-05/0.2705, allocations: 118.4 kB / 430.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.2707, allocations: 86.05 kB / 430.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.2708, allocations: 374.8 kB / 430.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/0.271, allocations: 200.9 kB / 430.7 MB, free: 7.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.2713, allocations: 303.2 kB / 431 MB, free: 7.207 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003035/0.2743, allocations: 1.406 MB / 432.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.2743, allocations: 4 kB / 432.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001492/0.2758, allocations: 0.9238 MB / 433.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.129e-05/0.2759, allocations: 79.25 kB / 433.4 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2759, allocations: 4 kB / 433.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.2773, allocations: 354.7 kB / 433.8 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2775, allocations: 63.84 kB / 433.8 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.279, allocations: 2.261 MB / 436.1 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004609/0.2795, allocations: 91.55 kB / 436.2 MB, free: 1.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.2795, allocations: 23.98 kB / 436.2 MB, free: 1.711 MB / 302.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.0003436/0.2799, allocations: 310.8 kB / 436.5 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.28, allocations: 71.23 kB / 436.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.282, allocations: 1.169 MB / 437.8 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.282, allocations: 4 kB / 437.8 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.282, allocations: 0 / 437.8 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.282, allocations: 3.984 kB / 437.8 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.2826, allocations: 0.5555 MB / 438.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2826, allocations: 0 / 438.3 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.2828, allocations: 35.92 kB / 438.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/0.2843, allocations: 399.1 kB / 438.7 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.2844, allocations: 19.92 kB / 438.8 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/0.2869, allocations: 2.37 MB / 441.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.2869, allocations: 4.031 kB / 441.1 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.2895, allocations: 1.174 MB / 442.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/0.2899, allocations: 196.2 kB / 442.5 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.29, allocations: 24 kB / 442.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.2905, allocations: 59.88 kB / 442.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.2906, allocations: 39.89 kB / 442.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.2907, allocations: 19.98 kB / 442.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005866/0.2913, allocations: 494.8 kB / 443.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2913, allocations: 4 kB / 443.1 MB, free: 10.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005606/0.2918, allocations: 140 kB / 443.3 MB, free: 10.31 MB / 318.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.002951/0.2948, allocations: 1.776 MB / 445 MB, free: 8.488 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.2964, allocations: 0.901 MB / 445.9 MB, free: 7.551 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.2965, allocations: 0 / 445.9 MB, free: 7.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.2975, allocations: 0.7122 MB / 446.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.2979, allocations: 50.94 kB / 446.7 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009973/0.3079, allocations: 7.182 MB / 453.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.3084, allocations: 0.8757 MB / 454.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001663/0.3086, allocations: 59.25 kB / 454.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.3089, allocations: 195.3 kB / 455 MB, free: 14.24 MB / 334.1 MB Notification: Performance of SimCode: time 1.302e-06/0.3089, allocations: 0 / 455 MB, free: 14.24 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03915/0.348, allocations: 14.09 MB / 469.1 MB, free: 324 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.31, allocations: 7.922 kB / 469.1 MB, free: 316 kB / 334.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)