Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001107/0.001107, allocations: 179.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.248/1.248, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 117.7 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1619/0.1619, allocations: 38 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 8 kB / 403.9 MB, free: 68.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1053, allocations: 53.24 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3302/0.4356, allocations: 94.98 MB / 0.5392 GB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.4359, allocations: 91.02 kB / 0.5392 GB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03359/0.4695, allocations: 11.5 MB / 0.5505 GB, free: 5.902 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4695, allocations: 4 kB / 0.5505 GB, free: 5.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.733e-05/0.4696, allocations: 12 kB / 0.5505 GB, free: 5.887 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001955/0.4716, allocations: 0.8435 MB / 0.5513 GB, free: 5.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.4716, allocations: 15.95 kB / 0.5513 GB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/0.4718, allocations: 79.59 kB / 0.5514 GB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.472, allocations: 63.25 kB / 0.5515 GB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/0.4754, allocations: 1.229 MB / 0.5527 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.4754, allocations: 29.75 kB / 0.5527 GB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.4755, allocations: 41.31 kB / 0.5527 GB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008541/0.4764, allocations: 0.5342 MB / 0.5532 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4764, allocations: 0 / 0.5532 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.4764, allocations: 16.44 kB / 0.5533 GB, free: 3.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.4765, allocations: 21 kB / 0.5533 GB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006612/0.4771, allocations: 387.7 kB / 0.5537 GB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/0.4798, allocations: 1.941 MB / 0.5555 GB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.4804, allocations: 324.8 kB / 0.5559 GB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4804, allocations: 4.062 kB / 0.5559 GB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000368/0.4808, allocations: 280.7 kB / 0.5561 GB, free: 0.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.064e-06/0.4808, allocations: 0 / 0.5561 GB, free: 0.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002318/0.4831, allocations: 1.453 MB / 0.5575 GB, free: 15.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/0.4833, allocations: 166.2 kB / 0.5577 GB, free: 15.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.4837, allocations: 346.7 kB / 0.558 GB, free: 14.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.4837, allocations: 33.2 kB / 0.5581 GB, free: 14.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.4839, allocations: 300.5 kB / 0.5584 GB, free: 14.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-05/0.484, allocations: 116.5 kB / 0.5585 GB, free: 14.56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.484, allocations: 11.12 kB / 0.5585 GB, free: 14.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4842, allocations: 360.5 kB / 0.5588 GB, free: 14.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.4844, allocations: 116.8 kB / 0.5589 GB, free: 14.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.4847, allocations: 291.5 kB / 0.5592 GB, free: 13.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.485, allocations: 187.8 kB / 0.5594 GB, free: 13.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.485, allocations: 0 / 0.5594 GB, free: 13.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008362/0.4859, allocations: 0.6124 MB / 0.56 GB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.4859, allocations: 37.69 kB / 0.56 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4859, allocations: 4.688 kB / 0.56 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.4861, allocations: 35.64 kB / 0.5601 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.4865, allocations: 103.4 kB / 0.5602 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.4876, allocations: 1.39 MB / 0.5615 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.4879, allocations: 22.92 kB / 0.5615 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.488, allocations: 30.92 kB / 0.5616 GB, free: 11.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003229/0.4883, allocations: 246.5 kB / 0.5618 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.626e-05/0.4884, allocations: 48.62 kB / 0.5619 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008884/0.4893, allocations: 0.543 MB / 0.5624 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4893, allocations: 4 kB / 0.5624 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4893, allocations: 4 kB / 0.5624 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4893, allocations: 7.922 kB / 0.5624 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.4907, allocations: 1.049 MB / 0.5634 GB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.4907, allocations: 3.984 kB / 0.5634 GB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.491, allocations: 55.91 kB / 0.5635 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.183e-05/0.4911, allocations: 23.98 kB / 0.5635 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.4911, allocations: 11.61 kB / 0.5635 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.4922, allocations: 1.371 MB / 0.5649 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.4922, allocations: 7.984 kB / 0.5649 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.4933, allocations: 0.8337 MB / 0.5657 GB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.4936, allocations: 144.2 kB / 0.5658 GB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.4936, allocations: 7.875 kB / 0.5658 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.4938, allocations: 19.73 kB / 0.5658 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.4939, allocations: 23.84 kB / 0.5659 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.494, allocations: 27.91 kB / 0.5659 GB, free: 7.328 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002919/0.4943, allocations: 273.2 kB / 0.5661 GB, free: 7.113 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4943, allocations: 0 / 0.5661 GB, free: 7.113 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005866/0.4949, allocations: 115.2 kB / 0.5663 GB, free: 7.012 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001564/0.4965, allocations: 1.557 MB / 0.5678 GB, free: 5.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007688/0.4972, allocations: 0.514 MB / 0.5683 GB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4973, allocations: 0 / 0.5683 GB, free: 5.109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.4977, allocations: 375.1 kB / 0.5686 GB, free: 4.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.4981, allocations: 95.03 kB / 0.5687 GB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006221/0.5044, allocations: 6.363 MB / 0.5749 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.5049, allocations: 0.8969 MB / 0.5758 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000362/0.5053, allocations: 88.31 kB / 0.5759 GB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.5055, allocations: 174 kB / 0.5761 GB, free: 13.53 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5055, allocations: 0 / 0.5761 GB, free: 13.53 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02521/0.5307, allocations: 8.826 MB / 0.5847 GB, free: 4.723 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/0.5311, allocations: 206.3 kB / 0.5849 GB, free: 4.477 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/2.834, allocations: 4 kB / 0.5849 GB, free: 4.473 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)