Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer",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.001919/0.00192, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.002161/0.002161, allocations: 200 kB / 18.01 MB, free: 5.047 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.45/1.45, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1794/0.1794, allocations: 38.03 MB / 329.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 457.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3175, allocations: 58.07 MB / 0.5036 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007805/0.3253, allocations: 6.53 MB / 0.51 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004418/0.3298, allocations: 2.433 MB / 0.5124 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000683/0.3305, allocations: 21.84 kB / 0.5124 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.3323, allocations: 0.6028 MB / 0.513 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.3342, allocations: 0.6885 MB / 0.5137 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.3357, allocations: 452.4 kB / 0.5141 GB, free: 320 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.338, allocations: 1.362 MB / 0.5154 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009644/0.339, allocations: 488.9 kB / 0.5159 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.3402, allocations: 0.567 MB / 0.5164 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.3418, allocations: 0.789 MB / 0.5172 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.3421, allocations: 74.81 kB / 0.5173 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009035/0.343, allocations: 278.2 kB / 0.5175 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007716/0.3438, allocations: 0.5123 MB / 0.518 GB, free: 14.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007589/0.3445, allocations: 0.528 MB / 0.5186 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.3464, allocations: 1.34 MB / 0.5199 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.3464, allocations: 1.281 kB / 0.5199 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3464, allocations: 0 / 0.5199 GB, free: 13.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.3465, allocations: 0 / 0.5199 GB, free: 13.99 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.002691/0.3492, allocations: 1.346 MB / 0.5212 GB, free: 13.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.3492, allocations: 12.52 kB / 0.5212 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/0.3494, allocations: 153.9 kB / 0.5213 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.3505, allocations: 210.2 kB / 0.5215 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.3518, allocations: 0.7139 MB / 0.5222 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/0.3519, allocations: 64.55 kB / 0.5223 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.3521, allocations: 94.62 kB / 0.5224 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.3543, allocations: 1.387 MB / 0.5237 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.539e-05/0.3544, allocations: 11.67 kB / 0.5238 GB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.926e-05/0.3545, allocations: 41.42 kB / 0.5238 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000301/0.3548, allocations: 124.6 kB / 0.5239 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.3567, allocations: 1.093 MB / 0.525 GB, free: 11.33 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007776/0.3645, allocations: 5.939 MB / 0.5308 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.3655, allocations: 0.7025 MB / 0.5315 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004908/0.3661, allocations: 328.1 kB / 0.5318 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.3661, allocations: 7.688 kB / 0.5318 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000694/0.3668, allocations: 488 kB / 0.5323 GB, free: 5.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.375e-06/0.3668, allocations: 0 / 0.5323 GB, free: 5.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003734/0.3706, allocations: 2.177 MB / 0.5344 GB, free: 4.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.3707, allocations: 172.9 kB / 0.5345 GB, free: 4.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008242/0.3715, allocations: 0.6379 MB / 0.5352 GB, free: 3.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.3716, allocations: 36.67 kB / 0.5352 GB, free: 3.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.3721, allocations: 0.5459 MB / 0.5357 GB, free: 3.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.3724, allocations: 243 kB / 0.536 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.3727, allocations: 199.7 kB / 0.5362 GB, free: 3.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.3729, allocations: 396.3 kB / 0.5365 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.3735, allocations: 338.3 kB / 0.5369 GB, free: 2.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009897/0.3745, allocations: 0.7744 MB / 0.5376 GB, free: 1.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.3762, allocations: 1.243 MB / 0.5388 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.3763, allocations: 4.781 kB / 0.5388 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002719/0.379, allocations: 1.44 MB / 0.5402 GB, free: 0 / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.961e-05/0.3791, allocations: 45.06 kB / 0.5403 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001447/0.3805, allocations: 0.7818 MB / 0.541 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007607/0.3813, allocations: 251.8 kB / 0.5413 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007224/0.382, allocations: 217.4 kB / 0.5415 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005037/0.3871, allocations: 4.38 MB / 0.5458 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008252/0.3879, allocations: 54.89 kB / 0.5458 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.3881, allocations: 65.09 kB / 0.5459 GB, free: 11.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * 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): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006627/0.3887, allocations: 400.2 kB / 0.5463 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.3889, allocations: 87.58 kB / 0.5464 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.3904, allocations: 0.8426 MB / 0.5472 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3904, allocations: 8 kB / 0.5472 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3904, allocations: 0 / 0.5472 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.3904, allocations: 7.984 kB / 0.5472 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/0.3934, allocations: 1.763 MB / 0.5489 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.3934, allocations: 4 kB / 0.5489 GB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007252/0.3942, allocations: 148 kB / 0.5491 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.3942, allocations: 4 kB / 0.5491 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.3942, allocations: 23.98 kB / 0.5491 GB, free: 8.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-06/0.3943, allocations: 11.88 kB / 0.5491 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3943, allocations: 4 kB / 0.5491 GB, free: 8.504 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.3962, allocations: 1.309 MB / 0.5504 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003358/0.3965, allocations: 208.5 kB / 0.5506 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/0.3966, allocations: 16 kB / 0.5506 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.397, allocations: 27.97 kB / 0.5506 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.3971, allocations: 52.44 kB / 0.5507 GB, free: 6.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/0.3972, allocations: 39.97 kB / 0.5507 GB, free: 6.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000527/0.3977, allocations: 427 kB / 0.5511 GB, free: 6.387 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3977, allocations: 3.938 kB / 0.5511 GB, free: 6.383 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001122/0.3989, allocations: 232 kB / 0.5513 GB, free: 6.156 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002323/0.4012, allocations: 1.869 MB / 0.5532 GB, free: 4.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002144/0.4034, allocations: 1.24 MB / 0.5544 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4034, allocations: 1.75 kB / 0.5544 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006877/0.4041, allocations: 466.3 kB / 0.5548 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009047/0.405, allocations: 143.3 kB / 0.555 GB, free: 2.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/0.4179, allocations: 8.117 MB / 0.5629 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009903/0.419, allocations: 1.11 MB / 0.564 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008/0.4198, allocations: 294.4 kB / 0.5643 GB, free: 8.262 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.4203, allocations: 327.3 kB / 0.5646 GB, free: 7.941 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4203, allocations: 0 / 0.5646 GB, free: 7.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06284/0.4831, allocations: 16.06 MB / 0.5802 GB, free: 8.031 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.22, allocations: 4 kB / 0.5803 GB, free: 8.027 MB / 446.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)