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.0009704/0.0009704, allocations: 107.8 kB / 16.03 MB, free: 6.324 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.0009255/0.0009255, allocations: 201.3 kB / 16.95 MB, free: 6.152 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.313/1.313, allocations: 222.9 MB / 240.6 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04631/0.04631, allocations: 8.102 MB / 298.9 MB, free: 6.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.88 kB / 361.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2148, allocations: 51.51 MB / 412.8 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableTransformers.VariableTransformer1): time 0.003049/0.2179, allocations: 2.687 MB / 415.5 MB, free: 23.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.2193, allocations: 1.355 MB / 416.9 MB, free: 21.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.579e-05/0.2194, allocations: 4 kB / 416.9 MB, free: 21.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003843/0.2198, allocations: 231.3 kB / 417.1 MB, free: 21.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.2201, allocations: 243.1 kB / 417.4 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.2215, allocations: 0.9557 MB / 418.3 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.2219, allocations: 462.5 kB / 418.8 MB, free: 19.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.2221, allocations: 90.77 kB / 418.8 MB, free: 19.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.2222, allocations: 207.4 kB / 419.1 MB, free: 19.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.2225, allocations: 299.1 kB / 419.3 MB, free: 19.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.2225, allocations: 32 kB / 419.4 MB, free: 19.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004264/0.223, allocations: 315.7 kB / 419.7 MB, free: 18.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2231, allocations: 147.4 kB / 419.8 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.2233, allocations: 254.5 kB / 420.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.2238, allocations: 0.7127 MB / 420.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2239, allocations: 0 / 420.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2239, allocations: 0 / 420.8 MB, free: 17.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.2239, allocations: 0 / 420.8 MB, free: 17.81 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.003329/0.2272, allocations: 1.354 MB / 422.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.2273, allocations: 15.89 kB / 422.2 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.2273, allocations: 50.73 kB / 422.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.416e-05/0.2274, allocations: 68.19 kB / 422.3 MB, free: 16.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.2278, allocations: 475.7 kB / 422.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2278, allocations: 12.38 kB / 422.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/0.2279, allocations: 32.12 kB / 422.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.2285, allocations: 406.2 kB / 423.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2285, allocations: 0 / 423.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.2285, allocations: 8 kB / 423.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2285, allocations: 4 kB / 423.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004476/0.229, allocations: 340 kB / 423.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.2302, allocations: 1.113 MB / 424.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.2309, allocations: 0.5119 MB / 425.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.2313, allocations: 280.9 kB / 425.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007389/0.232, allocations: 0.8587 MB / 426.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005378/0.2326, allocations: 496.5 kB / 426.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.763e-06/0.2326, allocations: 4 kB / 426.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002966/0.2355, allocations: 1.4 MB / 428.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.2356, allocations: 251.6 kB / 428.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.2362, allocations: 0.6787 MB / 429.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.2362, allocations: 33.7 kB / 429.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.2363, allocations: 256.6 kB / 429.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.2364, allocations: 114.4 kB / 429.5 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.2365, allocations: 94.05 kB / 429.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.2366, allocations: 370.8 kB / 429.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.2368, allocations: 200.9 kB / 430.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.2371, allocations: 310.4 kB / 430.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.2402, allocations: 1.406 MB / 431.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2402, allocations: 0 / 431.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001502/0.2417, allocations: 0.9276 MB / 432.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.2417, allocations: 75.33 kB / 432.8 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2418, allocations: 4 kB / 432.9 MB, free: 5.098 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/0.2432, allocations: 355.3 kB / 433.2 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.2434, allocations: 63.84 kB / 433.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.2448, allocations: 2.253 MB / 435.5 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.2453, allocations: 91.56 kB / 435.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.2453, allocations: 20 kB / 435.6 MB, free: 2.145 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.0003049/0.2456, allocations: 328.5 kB / 435.9 MB, free: 1.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.907e-05/0.2457, allocations: 63.25 kB / 436 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.2477, allocations: 1.165 MB / 437.2 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.2477, allocations: 3.984 kB / 437.2 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2477, allocations: 8 kB / 437.2 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2477, allocations: 0 / 437.2 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.2481, allocations: 0.5556 MB / 437.7 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2482, allocations: 4 kB / 437.7 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.2483, allocations: 27.92 kB / 437.8 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.25, allocations: 405.6 kB / 438.2 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.25, allocations: 15.94 kB / 438.2 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.2524, allocations: 2.378 MB / 440.6 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2524, allocations: 0 / 440.6 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.2548, allocations: 1.178 MB / 441.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/0.2551, allocations: 200.2 kB / 441.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/0.2552, allocations: 23.94 kB / 442 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.2556, allocations: 63.81 kB / 442 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.2557, allocations: 39.97 kB / 442.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/0.2558, allocations: 19.98 kB / 442.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005086/0.2563, allocations: 494.8 kB / 442.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2563, allocations: 0 / 442.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004515/0.2568, allocations: 136 kB / 442.7 MB, free: 10.73 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.002625/0.2594, allocations: 1.772 MB / 444.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.2609, allocations: 0.8999 MB / 445.4 MB, free: 7.977 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2609, allocations: 0 / 445.4 MB, free: 7.977 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009953/0.2619, allocations: 0.7083 MB / 446.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.2622, allocations: 54.94 kB / 446.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008807/0.2711, allocations: 7.298 MB / 453.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.2715, allocations: 0.8757 MB / 454.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.2716, allocations: 55.25 kB / 454.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.2718, allocations: 191.4 kB / 454.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2718, allocations: 3.938 kB / 454.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4204/0.6923, allocations: 13.72 MB / 468.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/0.6926, allocations: 249.2 kB / 468.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/2.824, allocations: 2.672 kB / 468.5 MB, free: 0.793 MB / 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)