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.002282/0.002282, allocations: 181.6 kB / 15.76 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001122/0.001122, allocations: 90.86 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2643/0.2643, allocations: 38.07 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004795, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1154, allocations: 56.33 MB / 479.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4977/0.6131, allocations: 94 MB / 0.5597 GB, free: 5.625 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.6135, allocations: 88.42 kB / 0.5598 GB, free: 5.578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04901/0.6625, allocations: 13.22 MB / 0.5727 GB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6625, allocations: 0 / 0.5727 GB, free: 10.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.6626, allocations: 4 kB / 0.5727 GB, free: 10.61 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.000958/0.6635, allocations: 0.5036 MB / 0.5732 GB, free: 10.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.6636, allocations: 12.03 kB / 0.5732 GB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.734e-05/0.6637, allocations: 55.36 kB / 0.5733 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.665, allocations: 95.56 kB / 0.5734 GB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.6655, allocations: 272.8 kB / 0.5736 GB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.6655, allocations: 14.94 kB / 0.5736 GB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.6656, allocations: 15.5 kB / 0.5736 GB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.6663, allocations: 316.5 kB / 0.5739 GB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.6663, allocations: 3.984 kB / 0.5739 GB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.6664, allocations: 7.75 kB / 0.574 GB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.6665, allocations: 23.42 kB / 0.574 GB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.6672, allocations: 272.7 kB / 0.5742 GB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.6696, allocations: 1.294 MB / 0.5755 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.6702, allocations: 233.2 kB / 0.5757 GB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.6703, allocations: 4.062 kB / 0.5757 GB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.6703, allocations: 34.5 kB / 0.5758 GB, free: 7.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.274e-06/0.6703, allocations: 0 / 0.5758 GB, free: 7.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009002/0.6712, allocations: 265.5 kB / 0.576 GB, free: 7.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.6713, allocations: 85.22 kB / 0.5761 GB, free: 7.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.6716, allocations: 181.5 kB / 0.5763 GB, free: 7.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.6716, allocations: 29.33 kB / 0.5763 GB, free: 7.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.6717, allocations: 224.8 kB / 0.5765 GB, free: 6.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.6718, allocations: 46.78 kB / 0.5766 GB, free: 6.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.6718, allocations: 7.125 kB / 0.5766 GB, free: 6.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.672, allocations: 317.3 kB / 0.5769 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.6721, allocations: 42.84 kB / 0.5769 GB, free: 6.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.6723, allocations: 139.1 kB / 0.577 GB, free: 6.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.6725, allocations: 71.28 kB / 0.5771 GB, free: 6.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.6725, allocations: 7.891 kB / 0.5771 GB, free: 6.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004992/0.673, allocations: 213.2 kB / 0.5773 GB, free: 6.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.673, allocations: 7.938 kB / 0.5773 GB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.6731, allocations: 7.938 kB / 0.5773 GB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.6731, allocations: 8 kB / 0.5773 GB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.6734, allocations: 39.92 kB / 0.5774 GB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.6734, allocations: 4.438 kB / 0.5774 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.6736, allocations: 18.86 kB / 0.5774 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.6737, allocations: 11.12 kB / 0.5774 GB, free: 6.031 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 () * Number of clocked 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.0001945/0.6739, allocations: 153.8 kB / 0.5776 GB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.6739, allocations: 23.75 kB / 0.5776 GB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.6743, allocations: 141 kB / 0.5777 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6744, allocations: 4 kB / 0.5777 GB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.6744, allocations: 0 / 0.5777 GB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.6744, allocations: 3.938 kB / 0.5777 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.6757, allocations: 0.6646 MB / 0.5784 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.6757, allocations: 0 / 0.5784 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.6759, allocations: 34.98 kB / 0.5784 GB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.676, allocations: 4 kB / 0.5784 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.676, allocations: 4 kB / 0.5784 GB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/0.676, allocations: 11.94 kB / 0.5784 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.676, allocations: 4.438 kB / 0.5784 GB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.6766, allocations: 0.4893 MB / 0.5789 GB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/0.6767, allocations: 100.3 kB / 0.579 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.6768, allocations: 7.938 kB / 0.579 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.677, allocations: 7.312 kB / 0.579 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.677, allocations: 15.94 kB / 0.579 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.6771, allocations: 11.5 kB / 0.579 GB, free: 4.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000184/0.6773, allocations: 150.9 kB / 0.5792 GB, free: 4.156 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6773, allocations: 0 / 0.5792 GB, free: 4.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004955/0.6778, allocations: 49.81 kB / 0.5792 GB, free: 4.113 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 () * Number of clocked 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.001242/0.679, allocations: 1.992 MB / 0.5812 GB, free: 2.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004036/0.6795, allocations: 144.6 kB / 0.5813 GB, free: 1.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.6795, allocations: 0 / 0.5813 GB, free: 1.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.6796, allocations: 58.78 kB / 0.5814 GB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.6801, allocations: 30.31 kB / 0.5814 GB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.6835, allocations: 3.398 MB / 0.5847 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.684, allocations: 0.7681 MB / 0.5855 GB, free: 13.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.6842, allocations: 68.78 kB / 0.5855 GB, free: 13.64 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6842, allocations: 0 / 0.5855 GB, free: 13.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.317/3.001, allocations: 3.223 MB / 0.5887 GB, free: 10.45 MB / 394.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)