Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.0009802/0.0009803, 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.323/1.323, 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.001714/0.001714, allocations: 107.4 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1674/0.1674, allocations: 38 MB / 340.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 8 kB / 403.9 MB, free: 68.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09503, allocations: 53.23 MB / 457.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.4345, allocations: 89.01 MB / 0.5333 GB, free: 6.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.4348, allocations: 86.44 kB / 0.5334 GB, free: 6.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02976/0.4646, allocations: 13.19 MB / 0.5463 GB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4647, allocations: 0 / 0.5463 GB, free: 11.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.4647, allocations: 4 kB / 0.5463 GB, free: 11.51 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009375/0.4656, allocations: 0.5049 MB / 0.5468 GB, free: 10.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.4657, allocations: 12.02 kB / 0.5468 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.4658, allocations: 52.8 kB / 0.5468 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000975/0.4668, allocations: 95.64 kB / 0.5469 GB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.4673, allocations: 266.4 kB / 0.5472 GB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.4674, allocations: 7.5 kB / 0.5472 GB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/0.4674, allocations: 23.05 kB / 0.5472 GB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.468, allocations: 310.4 kB / 0.5475 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.468, allocations: 4 kB / 0.5475 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.468, allocations: 15.19 kB / 0.5475 GB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.819e-05/0.4681, allocations: 19.98 kB / 0.5475 GB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.4686, allocations: 276.8 kB / 0.5478 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.4703, allocations: 1.297 MB / 0.5491 GB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.4706, allocations: 164.9 kB / 0.5492 GB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.4707, allocations: 9.016 kB / 0.5492 GB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.4707, allocations: 35.88 kB / 0.5493 GB, free: 8.605 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.4707, allocations: 0 / 0.5493 GB, free: 8.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009355/0.4716, allocations: 417.6 kB / 0.5497 GB, free: 8.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4717, allocations: 85.81 kB / 0.5498 GB, free: 8.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.4719, allocations: 175.1 kB / 0.5499 GB, free: 7.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.4719, allocations: 27.83 kB / 0.55 GB, free: 7.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.472, allocations: 166 kB / 0.5501 GB, free: 7.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.4721, allocations: 46.11 kB / 0.5502 GB, free: 7.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.4721, allocations: 3.062 kB / 0.5502 GB, free: 7.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4722, allocations: 329.3 kB / 0.5505 GB, free: 7.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.4724, allocations: 50.66 kB / 0.5505 GB, free: 7.391 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.4725, allocations: 144.1 kB / 0.5507 GB, free: 7.227 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.4727, allocations: 87.7 kB / 0.5507 GB, free: 7.168 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4727, allocations: 0 / 0.5507 GB, free: 7.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000465/0.4731, allocations: 247 kB / 0.551 GB, free: 6.965 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4732, allocations: 8.438 kB / 0.551 GB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4732, allocations: 8 kB / 0.551 GB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/0.4734, allocations: 49.7 kB / 0.551 GB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.4736, allocations: 41.73 kB / 0.5511 GB, free: 6.863 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.4747, allocations: 1.35 MB / 0.5524 GB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.4749, allocations: 11.28 kB / 0.5524 GB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4749, allocations: 11.62 kB / 0.5524 GB, free: 5.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.4751, allocations: 163 kB / 0.5526 GB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.4751, allocations: 15.81 kB / 0.5526 GB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003544/0.4755, allocations: 184.7 kB / 0.5528 GB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4755, allocations: 7.938 kB / 0.5528 GB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.4755, allocations: 4 kB / 0.5528 GB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4755, allocations: 0 / 0.5528 GB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007935/0.4763, allocations: 0.5518 MB / 0.5533 GB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4763, allocations: 4 kB / 0.5533 GB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.703e-05/0.4764, allocations: 19.98 kB / 0.5533 GB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.4765, allocations: 32.08 kB / 0.5534 GB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4766, allocations: 3.312 kB / 0.5534 GB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009215/0.4775, allocations: 1.33 MB / 0.5547 GB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4775, allocations: 12.03 kB / 0.5547 GB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.4779, allocations: 338.7 kB / 0.555 GB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.478, allocations: 96.17 kB / 0.5551 GB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.478, allocations: 3.984 kB / 0.5551 GB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4781, allocations: 7.312 kB / 0.5551 GB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.4781, allocations: 11.92 kB / 0.5551 GB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.4782, allocations: 11.5 kB / 0.5551 GB, free: 2.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.4783, allocations: 145.2 kB / 0.5553 GB, free: 2.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4783, allocations: 0 / 0.5553 GB, free: 2.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003592/0.4786, allocations: 54.81 kB / 0.5553 GB, free: 2.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0007217/0.4794, allocations: 1.151 MB / 0.5564 GB, free: 1.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004679/0.4798, allocations: 265.4 kB / 0.5567 GB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4799, allocations: 0 / 0.5567 GB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.4801, allocations: 168.2 kB / 0.5569 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.4804, allocations: 31.62 kB / 0.5569 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.483, allocations: 3.371 MB / 0.5602 GB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.4834, allocations: 0.7653 MB / 0.5609 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.4836, allocations: 41.52 kB / 0.561 GB, free: 12.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.16e-05/0.4837, allocations: 60.66 kB / 0.561 GB, free: 12.66 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4837, allocations: 0 / 0.561 GB, free: 12.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.5007, allocations: 3.488 MB / 0.5644 GB, free: 9.199 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.501, allocations: 200.4 kB / 0.5646 GB, free: 8.953 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.184, allocations: 4.062 kB / 0.5646 GB, free: 8.949 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)