Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.AdmittanceTest,fileNamePrefix="PowerSystems_cpp_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.3+maint.om/package.mo): time 0.002409/0.002409, allocations: 184.7 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.2 MB / 218.9 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 98.25 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2726/0.2726, allocations: 37.96 MB / 353.1 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.225e-05/3.228e-05, allocations: 4 kB / 416.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 56.32 MB / 473.2 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4545/0.5579, allocations: 93.91 MB / 0.5538 GB, free: 9.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.5582, allocations: 83.95 kB / 0.5539 GB, free: 9.578 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05101/0.6092, allocations: 13.16 MB / 0.5668 GB, free: 12.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6093, allocations: 4 kB / 0.5668 GB, free: 12.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.6093, allocations: 4 kB / 0.5668 GB, free: 12.26 MB / 410.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.0008038/0.6101, allocations: 486.2 kB / 0.5672 GB, free: 11.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6102, allocations: 8.031 kB / 0.5672 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.579e-05/0.6103, allocations: 50.55 kB / 0.5673 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.6115, allocations: 111.5 kB / 0.5674 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.612, allocations: 263.2 kB / 0.5676 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.612, allocations: 20 kB / 0.5677 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.6121, allocations: 19.91 kB / 0.5677 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.6128, allocations: 302.3 kB / 0.568 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.6128, allocations: 4 kB / 0.568 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.6129, allocations: 4 kB / 0.568 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.613, allocations: 31.97 kB / 0.568 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006841/0.6137, allocations: 275.7 kB / 0.5683 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002376/0.6161, allocations: 1.289 MB / 0.5695 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.6167, allocations: 226.3 kB / 0.5697 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.6168, allocations: 49.77 kB / 0.5698 GB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.6168, allocations: 4 kB / 0.5698 GB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.6169, allocations: 34.56 kB / 0.5698 GB, free: 8.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.535e-06/0.6169, allocations: 4 kB / 0.5698 GB, free: 8.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007117/0.6176, allocations: 239.5 kB / 0.5701 GB, free: 8.598 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.6177, allocations: 81.11 kB / 0.5701 GB, free: 8.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.618, allocations: 177.5 kB / 0.5703 GB, free: 8.316 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.618, allocations: 29.64 kB / 0.5703 GB, free: 8.281 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.6181, allocations: 222.3 kB / 0.5706 GB, free: 8.062 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.6182, allocations: 51.22 kB / 0.5706 GB, free: 8.012 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.6182, allocations: 12.03 kB / 0.5706 GB, free: 8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6184, allocations: 314.8 kB / 0.5709 GB, free: 7.684 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.6185, allocations: 43.98 kB / 0.571 GB, free: 7.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.6187, allocations: 140.8 kB / 0.5711 GB, free: 7.457 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.6189, allocations: 71.86 kB / 0.5712 GB, free: 7.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6189, allocations: 0 / 0.5712 GB, free: 7.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000484/0.6194, allocations: 213.3 kB / 0.5714 GB, free: 7.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.6195, allocations: 8 kB / 0.5714 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6195, allocations: 0 / 0.5714 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.6195, allocations: 8 kB / 0.5714 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.6198, allocations: 39.92 kB / 0.5714 GB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.6199, allocations: 11.98 kB / 0.5714 GB, free: 7.105 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/0.62, allocations: 8 kB / 0.5714 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.6201, allocations: 12 kB / 0.5714 GB, free: 7.086 MB / 410.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 0.0001118/0.6202, allocations: 123 kB / 0.5716 GB, free: 6.961 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.987e-05/0.6203, allocations: 15.81 kB / 0.5716 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.6206, allocations: 147.2 kB / 0.5717 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6207, allocations: 0 / 0.5717 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6207, allocations: 4 kB / 0.5717 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.6207, allocations: 3.984 kB / 0.5717 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.6221, allocations: 0.6614 MB / 0.5724 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6221, allocations: 0 / 0.5724 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.6223, allocations: 31.92 kB / 0.5724 GB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.6223, allocations: 4 kB / 0.5724 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.6224, allocations: 11.95 kB / 0.5724 GB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.6224, allocations: 4 kB / 0.5724 GB, free: 5.977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.6224, allocations: 7.938 kB / 0.5724 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005641/0.623, allocations: 494.1 kB / 0.5729 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.6231, allocations: 96.91 kB / 0.573 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.6231, allocations: 12 kB / 0.573 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.6233, allocations: 12.06 kB / 0.573 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.6234, allocations: 19.88 kB / 0.573 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.6234, allocations: 8 kB / 0.573 GB, free: 5.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.6236, allocations: 144.2 kB / 0.5732 GB, free: 5.039 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6236, allocations: 3.938 kB / 0.5732 GB, free: 5.035 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004711/0.6241, allocations: 55.94 kB / 0.5732 GB, free: 4.98 MB / 410.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.001243/0.6253, allocations: 1.995 MB / 0.5752 GB, free: 2.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.6257, allocations: 128.5 kB / 0.5753 GB, free: 2.734 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6257, allocations: 0 / 0.5753 GB, free: 2.734 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.6259, allocations: 67.86 kB / 0.5754 GB, free: 2.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.6263, allocations: 32.17 kB / 0.5754 GB, free: 2.637 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.6275, allocations: 472.8 kB / 0.5759 GB, free: 2.094 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.628, allocations: 0.7677 MB / 0.5766 GB, free: 1.301 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.6282, allocations: 59.42 kB / 0.5767 GB, free: 1.242 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6282, allocations: 0 / 0.5767 GB, free: 1.242 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.609/3.237, allocations: 3.264 MB / 0.5798 GB, free: 13.97 MB / 426.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_AdmittanceTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)