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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008982/0.0008982, allocations: 93.38 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009822/0.0009822, allocations: 170 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1648/0.1648, allocations: 38.06 MB / 310.1 MB, free: 5.902 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005776/0.0005776, allocations: 20 kB / 377.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2139, allocations: 56.32 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.002855/0.2168, allocations: 3.315 MB / 436.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2182, allocations: 1.529 MB / 438.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.2183, allocations: 11.94 kB / 438.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.2184, allocations: 31.77 kB / 438.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004964/0.2189, allocations: 263.1 kB / 438.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2192, allocations: 107.8 kB / 438.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.2195, allocations: 0.5573 MB / 439.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.2201, allocations: 330.8 kB / 439.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.2203, allocations: 115.4 kB / 439.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.2205, allocations: 155.5 kB / 440 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.2205, allocations: 8 kB / 440 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.2209, allocations: 375.1 kB / 440.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.221, allocations: 99.69 kB / 440.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.228e-05/0.2211, allocations: 121.2 kB / 440.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.2214, allocations: 354.9 kB / 440.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2215, allocations: 0 / 440.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.2215, allocations: 3.938 kB / 440.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.2215, allocations: 0 / 440.9 MB, free: 11.25 MB / 318.1 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.0005463/0.222, allocations: 494.6 kB / 441.4 MB, free: 10.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2221, allocations: 8.031 kB / 441.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.2221, allocations: 50.73 kB / 441.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007537/0.2229, allocations: 92.55 kB / 441.6 MB, free: 10.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.2231, allocations: 260.4 kB / 441.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2231, allocations: 20.11 kB / 441.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.2232, allocations: 23.92 kB / 441.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.2236, allocations: 318.3 kB / 442.2 MB, free: 9.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2236, allocations: 0 / 442.2 MB, free: 9.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.2236, allocations: 7.984 kB / 442.2 MB, free: 9.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.2236, allocations: 19.92 kB / 442.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.224, allocations: 291.8 kB / 442.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.2251, allocations: 1.285 MB / 443.8 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.2254, allocations: 250.3 kB / 444 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.836e-05/0.2255, allocations: 53.7 kB / 444.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.2255, allocations: 0 / 444.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2256, allocations: 38.55 kB / 444.1 MB, free: 7.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.2256, allocations: 0 / 444.1 MB, free: 7.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005115/0.2261, allocations: 288.2 kB / 444.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.2261, allocations: 77.11 kB / 444.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2263, allocations: 202.3 kB / 444.6 MB, free: 7.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.2263, allocations: 29.7 kB / 444.7 MB, free: 7.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.2263, allocations: 159.8 kB / 444.8 MB, free: 7.02 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.2264, allocations: 51.34 kB / 444.9 MB, free: 6.969 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.2264, allocations: 21.72 kB / 444.9 MB, free: 6.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.2264, allocations: 326.8 kB / 445.2 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.037e-05/0.2265, allocations: 47.98 kB / 445.3 MB, free: 6.566 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.458e-05/0.2266, allocations: 144.8 kB / 445.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.2268, allocations: 224.1 kB / 445.6 MB, free: 6.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2268, allocations: 3.938 kB / 445.6 MB, free: 6.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000241/0.227, allocations: 229.3 kB / 445.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2271, allocations: 8 kB / 445.9 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2271, allocations: 7.984 kB / 445.9 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2271, allocations: 4 kB / 445.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.2272, allocations: 47.91 kB / 445.9 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2272, allocations: 4 kB / 445.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.167e-05/0.2273, allocations: 8 kB / 445.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.2274, allocations: 8 kB / 445.9 MB, free: 5.797 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/0.2274, allocations: 162 kB / 446.1 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.2275, allocations: 15.81 kB / 446.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/0.2277, allocations: 163 kB / 446.3 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2277, allocations: 0 / 446.3 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2277, allocations: 8.062 kB / 446.3 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2277, allocations: 0 / 446.3 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.2283, allocations: 0.6654 MB / 447 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2283, allocations: 7.938 kB / 447 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.479e-05/0.2284, allocations: 27.92 kB / 447 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2284, allocations: 4 kB / 447 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2284, allocations: 11.98 kB / 447 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2284, allocations: 8 kB / 447 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2284, allocations: 3.938 kB / 447 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.2286, allocations: 339.3 kB / 447.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.2287, allocations: 96.86 kB / 447.4 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.2287, allocations: 8 kB / 447.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.2288, allocations: 7.984 kB / 447.5 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.2289, allocations: 31.8 kB / 447.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2289, allocations: 8 kB / 447.5 MB, free: 4.059 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.302e-05/0.229, allocations: 148.1 kB / 447.6 MB, free: 3.914 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.229, allocations: 0 / 447.6 MB, free: 3.914 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.2293, allocations: 44 kB / 447.7 MB, free: 3.871 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000323/0.2296, allocations: 0.8685 MB / 448.6 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.2298, allocations: 135.8 kB / 448.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2298, allocations: 4 kB / 448.7 MB, free: 2.797 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.2299, allocations: 61.22 kB / 448.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.2304, allocations: 42.8 kB / 448.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.2321, allocations: 2.504 MB / 451.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.2324, allocations: 0.7557 MB / 452 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000126/0.2325, allocations: 45.5 kB / 452.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.414e-05/0.2326, allocations: 63.3 kB / 452.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2326, allocations: 0 / 452.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01221/0.2448, allocations: 3.167 MB / 455.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/0.2451, allocations: 198.7 kB / 455.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.955, allocations: 0 / 455.5 MB, free: 11.68 MB / 334.1 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/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)