Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD",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.001055/0.001055, allocations: 180.3 kB / 16.38 MB, free: 5.766 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.337/1.337, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001678/0.001678, allocations: 129.4 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.169/0.169, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 12 kB / 403.9 MB, free: 68.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.09296, allocations: 53.22 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3456/0.4386, allocations: 97.01 MB / 0.5411 GB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.4389, allocations: 97.56 kB / 0.5412 GB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03939/0.4783, allocations: 14.61 MB / 0.5555 GB, free: 1.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4783, allocations: 3.938 kB / 0.5555 GB, free: 1.406 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.553e-05/0.4784, allocations: 12 kB / 0.5555 GB, free: 1.395 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00119/0.4795, allocations: 0.7249 MB / 0.5562 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.4796, allocations: 16.02 kB / 0.5562 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.358e-05/0.4797, allocations: 89.25 kB / 0.5563 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/0.4802, allocations: 91.28 kB / 0.5564 GB, free: 484 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.4822, allocations: 0.8619 MB / 0.5572 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.4822, allocations: 31.36 kB / 0.5573 GB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.4823, allocations: 42.83 kB / 0.5573 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/0.4831, allocations: 0.6393 MB / 0.5579 GB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4832, allocations: 7.906 kB / 0.5579 GB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.4832, allocations: 16.36 kB / 0.558 GB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.392e-05/0.4833, allocations: 46.66 kB / 0.558 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.4839, allocations: 458.7 kB / 0.5584 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002875/0.4868, allocations: 3.049 MB / 0.5614 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.4873, allocations: 262.1 kB / 0.5617 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.4873, allocations: 12.05 kB / 0.5617 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.4874, allocations: 33.88 kB / 0.5617 GB, free: 11.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.966e-06/0.4874, allocations: 0 / 0.5617 GB, free: 11.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.00167/0.4891, allocations: 1.092 MB / 0.5628 GB, free: 10.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.4891, allocations: 85.23 kB / 0.5629 GB, free: 10.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.4894, allocations: 278.6 kB / 0.5631 GB, free: 10.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.4895, allocations: 31.64 kB / 0.5632 GB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.4897, allocations: 278.2 kB / 0.5634 GB, free: 10.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-05/0.4898, allocations: 104.5 kB / 0.5635 GB, free: 9.926 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.4898, allocations: 5.875 kB / 0.5635 GB, free: 9.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.49, allocations: 349.2 kB / 0.5639 GB, free: 9.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.4902, allocations: 145.6 kB / 0.564 GB, free: 9.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.4905, allocations: 335.6 kB / 0.5643 GB, free: 9.137 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.4908, allocations: 205.4 kB / 0.5645 GB, free: 9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4908, allocations: 0 / 0.5645 GB, free: 9 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001014/0.4918, allocations: 0.6134 MB / 0.5651 GB, free: 8.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4919, allocations: 8 kB / 0.5651 GB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006365/0.4925, allocations: 378.4 kB / 0.5655 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/0.4929, allocations: 119.2 kB / 0.5656 GB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.4932, allocations: 83.31 kB / 0.5657 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/0.4958, allocations: 3.058 MB / 0.5687 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.4961, allocations: 27.16 kB / 0.5687 GB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.4961, allocations: 23.64 kB / 0.5687 GB, free: 4.922 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002468/0.4964, allocations: 202.4 kB / 0.5689 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.4964, allocations: 35.53 kB / 0.5689 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005988/0.497, allocations: 379 kB / 0.5693 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.4971, allocations: 11.5 kB / 0.5693 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.4971, allocations: 0 / 0.5693 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4971, allocations: 288 / 0.5693 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.4983, allocations: 0.8788 MB / 0.5702 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4983, allocations: 0 / 0.5702 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.4987, allocations: 71.58 kB / 0.5702 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.4988, allocations: 7.984 kB / 0.5702 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.4988, allocations: 7.625 kB / 0.5702 GB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.4988, allocations: 3.953 kB / 0.5703 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4988, allocations: 3.984 kB / 0.5703 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007277/0.4995, allocations: 0.6149 MB / 0.5709 GB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.4997, allocations: 138.1 kB / 0.571 GB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.4998, allocations: 3.188 kB / 0.571 GB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.5, allocations: 19.09 kB / 0.571 GB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.5, allocations: 15.36 kB / 0.571 GB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.5, allocations: 8 kB / 0.571 GB, free: 2.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001938/0.5002, allocations: 220.2 kB / 0.5712 GB, free: 2.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5002, allocations: 0 / 0.5712 GB, free: 2.703 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000513/0.5008, allocations: 118.2 kB / 0.5714 GB, free: 2.598 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001137/0.5019, allocations: 1.408 MB / 0.5727 GB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009194/0.5028, allocations: 0.6216 MB / 0.5733 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5029, allocations: 0 / 0.5733 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.5031, allocations: 149.9 kB / 0.5735 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.5035, allocations: 60.39 kB / 0.5735 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.5086, allocations: 6.544 MB / 0.5799 GB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.5091, allocations: 0.8887 MB / 0.5808 GB, free: 9.367 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.5094, allocations: 115.2 kB / 0.5809 GB, free: 9.254 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.5096, allocations: 143.1 kB / 0.581 GB, free: 9.211 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5096, allocations: 0 / 0.581 GB, free: 9.211 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.5301, allocations: 7.538 MB / 0.5884 GB, free: 1.695 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.5304, allocations: 202.7 kB / 0.5886 GB, free: 1.449 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.009/2.539, allocations: 0 / 0.5886 GB, free: 1.449 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_ImpedanceYD.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)