Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.001054/0.001054, allocations: 179.1 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.308/1.308, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001565/0.001565, allocations: 115.5 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1595/0.1595, allocations: 38.01 MB / 340.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.0003339, allocations: 12 kB / 403.9 MB, free: 68.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08246/0.08281, allocations: 53.23 MB / 457.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3211/0.4039, allocations: 95.95 MB / 0.5401 GB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.4042, allocations: 90.27 kB / 0.5402 GB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03327/0.4375, allocations: 12.58 MB / 0.5525 GB, free: 4.566 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.578e-06/0.4376, allocations: 7.938 kB / 0.5525 GB, free: 4.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.034e-05/0.4376, allocations: 8 kB / 0.5525 GB, free: 4.551 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001264/0.4389, allocations: 0.7232 MB / 0.5532 GB, free: 3.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4389, allocations: 12.02 kB / 0.5532 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.4391, allocations: 91.08 kB / 0.5533 GB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005375/0.4396, allocations: 98.62 kB / 0.5534 GB, free: 3.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.4415, allocations: 0.853 MB / 0.5542 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.4416, allocations: 32.81 kB / 0.5542 GB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.4417, allocations: 43.62 kB / 0.5543 GB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008284/0.4425, allocations: 0.6229 MB / 0.5549 GB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.4425, allocations: 7.375 kB / 0.5549 GB, free: 2.273 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.4426, allocations: 17.73 kB / 0.5549 GB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.014e-05/0.4426, allocations: 31.61 kB / 0.5549 GB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006227/0.4433, allocations: 445.9 kB / 0.5554 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.4463, allocations: 2.936 MB / 0.5582 GB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.4466, allocations: 200.4 kB / 0.5584 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.4466, allocations: 3.688 kB / 0.5584 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.4467, allocations: 38.62 kB / 0.5585 GB, free: 14.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.4467, allocations: 0 / 0.5585 GB, free: 14.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001507/0.4482, allocations: 1.045 MB / 0.5595 GB, free: 14.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.4483, allocations: 85.42 kB / 0.5596 GB, free: 13.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.4485, allocations: 292 kB / 0.5598 GB, free: 13.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.4486, allocations: 31.77 kB / 0.5599 GB, free: 13.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.4488, allocations: 293.5 kB / 0.5602 GB, free: 13.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.4489, allocations: 90.8 kB / 0.5602 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.4489, allocations: 5.688 kB / 0.5603 GB, free: 13.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.449, allocations: 349.1 kB / 0.5606 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.4493, allocations: 143.7 kB / 0.5607 GB, free: 12.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.4496, allocations: 327.8 kB / 0.561 GB, free: 12.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.45, allocations: 208.8 kB / 0.5612 GB, free: 12.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.45, allocations: 0 / 0.5612 GB, free: 12.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009561/0.451, allocations: 0.5869 MB / 0.5618 GB, free: 11.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.451, allocations: 8 kB / 0.5618 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005323/0.4515, allocations: 327.9 kB / 0.5621 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003263/0.4519, allocations: 84.22 kB / 0.5622 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.4522, allocations: 95.45 kB / 0.5623 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.4537, allocations: 1.604 MB / 0.5639 GB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.4539, allocations: 26.59 kB / 0.5639 GB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.454, allocations: 23.06 kB / 0.5639 GB, free: 9.879 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.4542, allocations: 213.7 kB / 0.5641 GB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.4543, allocations: 35.58 kB / 0.5641 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.4549, allocations: 359.1 kB / 0.5645 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.4549, allocations: 7.938 kB / 0.5645 GB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.4549, allocations: 0 / 0.5645 GB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4549, allocations: 0 / 0.5645 GB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.4562, allocations: 0.8655 MB / 0.5653 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4562, allocations: 64 / 0.5653 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.4565, allocations: 67.45 kB / 0.5654 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4565, allocations: 7.938 kB / 0.5654 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.4565, allocations: 7.875 kB / 0.5654 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4565, allocations: 0 / 0.5654 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4566, allocations: 7.984 kB / 0.5654 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000647/0.4572, allocations: 0.5926 MB / 0.566 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.4573, allocations: 104.7 kB / 0.5661 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.4574, allocations: 7.875 kB / 0.5661 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.4575, allocations: 19.83 kB / 0.5661 GB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.4576, allocations: 19.92 kB / 0.5662 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.4576, allocations: 4 kB / 0.5662 GB, free: 7.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002178/0.4578, allocations: 229.7 kB / 0.5664 GB, free: 7.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4579, allocations: 0 / 0.5664 GB, free: 7.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004832/0.4583, allocations: 111.2 kB / 0.5665 GB, free: 7.598 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (25): * Single equations (assignments): 23 * 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.001115/0.4595, allocations: 1.342 MB / 0.5678 GB, free: 6.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007552/0.4602, allocations: 493.3 kB / 0.5683 GB, free: 5.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4602, allocations: 0 / 0.5683 GB, free: 5.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.4604, allocations: 140.7 kB / 0.5684 GB, free: 5.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.4608, allocations: 52.97 kB / 0.5684 GB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005675/0.4665, allocations: 6.817 MB / 0.5751 GB, free: 15.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.467, allocations: 0.8831 MB / 0.576 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003497/0.4674, allocations: 115.1 kB / 0.5761 GB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.4676, allocations: 145.4 kB / 0.5762 GB, free: 14.14 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.4676, allocations: 0 / 0.5762 GB, free: 14.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.4884, allocations: 7.192 MB / 0.5832 GB, free: 6.973 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.4887, allocations: 200.4 kB / 0.5834 GB, free: 6.727 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.447, allocations: 3.938 kB / 0.5834 GB, free: 6.723 MB / 394.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)