Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest",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.002277/0.002276, allocations: 182 kB / 13.64 MB, free: 1.676 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.821/1.821, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001688/0.001688, allocations: 120.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1636/0.1636, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.011e-05/5.015e-05, allocations: 8 kB / 397.6 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3584, allocations: 53.22 MB / 450.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4852, allocations: 88.93 MB / 0.5271 GB, free: 4.418 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.4855, allocations: 79.81 kB / 0.5272 GB, free: 4.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3161/0.8016, allocations: 13.13 MB / 0.54 GB, free: 86.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.8017, allocations: 4.5 kB / 0.54 GB, free: 86.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.8017, allocations: 7.875 kB / 0.54 GB, free: 86.08 MB / 378.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.000739/0.8025, allocations: 490.3 kB / 0.5405 GB, free: 85.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/0.8025, allocations: 13.47 kB / 0.5405 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.484e-05/0.8026, allocations: 49.77 kB / 0.5406 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.8037, allocations: 98.61 kB / 0.5407 GB, free: 85.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.8043, allocations: 261.3 kB / 0.5409 GB, free: 85.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.8044, allocations: 15.25 kB / 0.5409 GB, free: 85.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.824e-05/0.8045, allocations: 20.95 kB / 0.5409 GB, free: 85.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.8052, allocations: 302.2 kB / 0.5412 GB, free: 85.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.8052, allocations: 0.5 kB / 0.5412 GB, free: 85.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.8053, allocations: 15.56 kB / 0.5413 GB, free: 85.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.8054, allocations: 27.41 kB / 0.5413 GB, free: 85.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000541/0.8059, allocations: 270.9 kB / 0.5415 GB, free: 84.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.8076, allocations: 1.289 MB / 0.5428 GB, free: 83.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.808, allocations: 224.5 kB / 0.543 GB, free: 83.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.8081, allocations: 47.84 kB / 0.5431 GB, free: 83.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.8081, allocations: 8.5 kB / 0.5431 GB, free: 83.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.8082, allocations: 34.56 kB / 0.5431 GB, free: 83.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.8082, allocations: 0 / 0.5431 GB, free: 83.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005408/0.8087, allocations: 230.3 kB / 0.5433 GB, free: 83.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.8088, allocations: 81.02 kB / 0.5434 GB, free: 83.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.8089, allocations: 181.7 kB / 0.5436 GB, free: 83.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.8089, allocations: 29.7 kB / 0.5436 GB, free: 83.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.809, allocations: 159.5 kB / 0.5437 GB, free: 82.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.8091, allocations: 51.81 kB / 0.5438 GB, free: 82.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.8091, allocations: 4 kB / 0.5438 GB, free: 82.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.8092, allocations: 338.4 kB / 0.5441 GB, free: 82.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.091e-05/0.8092, allocations: 40.08 kB / 0.5442 GB, free: 82.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.382e-05/0.8093, allocations: 132.5 kB / 0.5443 GB, free: 82.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.451e-05/0.8094, allocations: 69.48 kB / 0.5444 GB, free: 82.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8094, allocations: 7.844 kB / 0.5444 GB, free: 82.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002619/0.8097, allocations: 211 kB / 0.5446 GB, free: 82.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.8097, allocations: 7.688 kB / 0.5446 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8097, allocations: 3.938 kB / 0.5446 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.8098, allocations: 4.25 kB / 0.5446 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.8099, allocations: 49.14 kB / 0.5446 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.8099, allocations: 7.531 kB / 0.5446 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.8101, allocations: 11.66 kB / 0.5446 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.8101, allocations: 11.69 kB / 0.5447 GB, free: 82.24 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.768e-05/0.8102, allocations: 128.2 kB / 0.5448 GB, free: 82.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.8102, allocations: 14.88 kB / 0.5448 GB, free: 82.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.8104, allocations: 145.4 kB / 0.5449 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8105, allocations: 0 / 0.5449 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.8105, allocations: 7.625 kB / 0.5449 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8105, allocations: 0 / 0.5449 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.8112, allocations: 0.6574 MB / 0.5456 GB, free: 81.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8112, allocations: 7.859 kB / 0.5456 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.116e-05/0.8113, allocations: 27.94 kB / 0.5456 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.8113, allocations: 7.625 kB / 0.5456 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.8113, allocations: 7.953 kB / 0.5456 GB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.8113, allocations: 7.062 kB / 0.5456 GB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.8113, allocations: 11.88 kB / 0.5456 GB, free: 81.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.8116, allocations: 493.2 kB / 0.5461 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.8117, allocations: 98.23 kB / 0.5462 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.8117, allocations: 7.281 kB / 0.5462 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.8118, allocations: 14.92 kB / 0.5462 GB, free: 80.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.8119, allocations: 23.69 kB / 0.5463 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.8119, allocations: 7.906 kB / 0.5463 GB, free: 80.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.925e-05/0.812, allocations: 135.2 kB / 0.5464 GB, free: 80.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.812, allocations: 0 / 0.5464 GB, free: 80.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003394/0.8123, allocations: 50.58 kB / 0.5464 GB, free: 80.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007418/0.8131, allocations: 1.989 MB / 0.5484 GB, free: 78.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.8133, allocations: 130 kB / 0.5485 GB, free: 78.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8133, allocations: 0 / 0.5485 GB, free: 78.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.8134, allocations: 64.11 kB / 0.5486 GB, free: 78.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.8137, allocations: 36.22 kB / 0.5486 GB, free: 78.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.8145, allocations: 440 kB / 0.549 GB, free: 78.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.8147, allocations: 0.758 MB / 0.5498 GB, free: 77.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.8148, allocations: 48.92 kB / 0.5498 GB, free: 77.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.8149, allocations: 62.81 kB / 0.5499 GB, free: 77.29 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.8149, allocations: 0 / 0.5499 GB, free: 77.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01517/0.8301, allocations: 3.12 MB / 0.5529 GB, free: 74.92 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.8304, allocations: 150.3 kB / 0.5531 GB, free: 74.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.73, allocations: 0 / 0.5531 GB, free: 74.7 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)