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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001387/0.001388, allocations: 100.7 kB / 16.5 MB, free: 6.688 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.001698/0.001698, allocations: 194.1 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.167/0.167, allocations: 37.99 MB / 308.6 MB, free: 6.246 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 75.03 kB / 374.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2388, allocations: 55.24 MB / 430 MB, free: 19.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006958/0.2458, allocations: 7.564 MB / 437.5 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004936/0.2508, allocations: 2.836 MB / 440.4 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.2519, allocations: 43.69 kB / 440.4 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.2535, allocations: 0.5759 MB / 441 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.255, allocations: 0.6423 MB / 441.6 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009982/0.256, allocations: 399.3 kB / 442 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.2576, allocations: 2.285 MB / 444.3 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006827/0.2583, allocations: 467.2 kB / 444.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008914/0.2592, allocations: 493.8 kB / 445.2 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.2604, allocations: 0.8451 MB / 446.1 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.2605, allocations: 48 kB / 446.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005396/0.2611, allocations: 275.5 kB / 446.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004009/0.2615, allocations: 0.5026 MB / 446.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005285/0.262, allocations: 0.4973 MB / 447.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000945/0.263, allocations: 1.277 MB / 448.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.263, allocations: 0 / 448.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.263, allocations: 4 kB / 448.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.263, allocations: 0 / 448.7 MB, free: 0.9688 MB / 318.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.001962/0.265, allocations: 1.326 MB / 450 MB, free: 15.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.265, allocations: 8.031 kB / 450 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.2652, allocations: 152.3 kB / 450.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000945/0.2661, allocations: 199.5 kB / 450.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009954/0.2672, allocations: 0.6745 MB / 451 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.2672, allocations: 62.36 kB / 451.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.2674, allocations: 95.91 kB / 451.2 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.2693, allocations: 1.392 MB / 452.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.2693, allocations: 7.938 kB / 452.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.2694, allocations: 47.92 kB / 452.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002452/0.2696, allocations: 117.9 kB / 452.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.2712, allocations: 1.093 MB / 453.8 MB, free: 11.59 MB / 334.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.006187/0.2774, allocations: 5.969 MB / 459.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009502/0.2784, allocations: 0.6988 MB / 460.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/0.2788, allocations: 319.3 kB / 460.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/0.2789, allocations: 12.55 kB / 460.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006179/0.2795, allocations: 484.5 kB / 461.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 2.314e-06/0.2795, allocations: 0 / 461.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.003218/0.2827, allocations: 2.148 MB / 463.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.2828, allocations: 170.8 kB / 463.6 MB, free: 1.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006409/0.2835, allocations: 0.6289 MB / 464.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.2835, allocations: 41.83 kB / 464.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.2839, allocations: 0.5327 MB / 464.8 MB, free: 96 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.2841, allocations: 232.9 kB / 465.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.2843, allocations: 206.6 kB / 465.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2845, allocations: 390.7 kB / 465.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/0.285, allocations: 338.4 kB / 466 MB, free: 14.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007816/0.2858, allocations: 0.7697 MB / 466.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.2872, allocations: 1.248 MB / 468 MB, free: 12.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.2872, allocations: 4 kB / 468 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002337/0.2895, allocations: 1.442 MB / 469.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.2896, allocations: 41.64 kB / 469.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001365/0.2909, allocations: 0.7862 MB / 470.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007197/0.2917, allocations: 249.5 kB / 470.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/0.2924, allocations: 215.6 kB / 470.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/0.2965, allocations: 4.039 MB / 474.8 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006761/0.2973, allocations: 55.97 kB / 474.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.2974, allocations: 64.11 kB / 474.9 MB, free: 5.305 MB / 350.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.0005679/0.2979, allocations: 395 kB / 475.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2981, allocations: 75.06 kB / 475.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.2994, allocations: 0.8478 MB / 476.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2994, allocations: 8 kB / 476.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2994, allocations: 3.938 kB / 476.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2994, allocations: 3.984 kB / 476.2 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.3019, allocations: 1.775 MB / 478 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3019, allocations: 0 / 478 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.3026, allocations: 151.8 kB / 478.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.3026, allocations: 4 kB / 478.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.3027, allocations: 24.14 kB / 478.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.3027, allocations: 11.98 kB / 478.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3027, allocations: 0 / 478.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.3045, allocations: 1.313 MB / 479.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.3048, allocations: 196.2 kB / 479.7 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/0.3049, allocations: 19.98 kB / 479.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.3052, allocations: 27.97 kB / 479.7 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3054, allocations: 40.52 kB / 479.7 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.131e-05/0.3055, allocations: 39.95 kB / 479.8 MB, free: 216 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005424/0.306, allocations: 431.1 kB / 480.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.956e-06/0.306, allocations: 0 / 480.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008883/0.3069, allocations: 235.9 kB / 480.4 MB, free: 15.56 MB / 366.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.001999/0.3089, allocations: 1.869 MB / 482.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.3109, allocations: 1.229 MB / 483.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3109, allocations: 0 / 483.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.3115, allocations: 466.3 kB / 484 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007316/0.3122, allocations: 147.9 kB / 484.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.3234, allocations: 8.625 MB / 492.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.3242, allocations: 1.118 MB / 493.9 MB, free: 1.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007562/0.3249, allocations: 290.4 kB / 494.2 MB, free: 1.172 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/0.3254, allocations: 331.3 kB / 494.5 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of SimCode: time 1.001e-06/0.3254, allocations: 0 / 494.5 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.3534, allocations: 15.23 MB / 0.4978 GB, free: 1.617 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003433/0.3538, allocations: 223.1 kB / 0.498 GB, free: 1.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.381, allocations: 0 / 0.498 GB, free: 1.359 MB / 382.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)