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.001258/0.001257, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001306/0.001306, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.339/1.339, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1678/0.1678, allocations: 37.99 MB / 308.6 MB, free: 6.246 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.001316/0.001316, allocations: 71.03 kB / 374.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2058, allocations: 55.24 MB / 430 MB, free: 19.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003939/0.2098, allocations: 3.685 MB / 433.6 MB, free: 16.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2111, allocations: 1.552 MB / 435.2 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2112, allocations: 11.94 kB / 435.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.2118, allocations: 239.1 kB / 435.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.2122, allocations: 259.2 kB / 435.7 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.2124, allocations: 103.8 kB / 435.8 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.2127, allocations: 0.5651 MB / 436.4 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.2129, allocations: 130 kB / 436.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.2131, allocations: 131.3 kB / 436.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.2132, allocations: 171.4 kB / 436.8 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.2133, allocations: 12 kB / 436.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.2136, allocations: 375.1 kB / 437.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.165e-05/0.2137, allocations: 103.7 kB / 437.3 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.2138, allocations: 99.48 kB / 437.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.2141, allocations: 355 kB / 437.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2141, allocations: 4 kB / 437.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2141, allocations: 0 / 437.7 MB, free: 11.97 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2141, allocations: 0 / 437.7 MB, free: 11.97 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.0004807/0.2146, allocations: 0.5181 MB / 438.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.2147, allocations: 11.97 kB / 438.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.913e-05/0.2147, allocations: 62.73 kB / 438.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007287/0.2154, allocations: 92.55 kB / 438.4 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.2156, allocations: 256.4 kB / 438.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2157, allocations: 16.12 kB / 438.7 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.2157, allocations: 16 kB / 438.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.2161, allocations: 322.2 kB / 439 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2161, allocations: 4 kB / 439 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.2161, allocations: 4 kB / 439 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.2161, allocations: 15.98 kB / 439 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.2164, allocations: 287.8 kB / 439.3 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.2175, allocations: 1.297 MB / 440.6 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.2178, allocations: 234.3 kB / 440.8 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/0.2179, allocations: 61.62 kB / 440.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2179, allocations: 7.984 kB / 440.9 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.218, allocations: 38.56 kB / 440.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.218, allocations: 0 / 440.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004508/0.2184, allocations: 287.4 kB / 441.2 MB, free: 8.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.2185, allocations: 77.11 kB / 441.3 MB, free: 8.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.2186, allocations: 190.3 kB / 441.5 MB, free: 7.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.2186, allocations: 29.64 kB / 441.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.2186, allocations: 171.8 kB / 441.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.2187, allocations: 43.36 kB / 441.7 MB, free: 7.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.2187, allocations: 45.7 kB / 441.8 MB, free: 7.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.2188, allocations: 326.8 kB / 442.1 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.13e-05/0.2188, allocations: 55.84 kB / 442.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.121e-05/0.2189, allocations: 148.8 kB / 442.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.2191, allocations: 216 kB / 442.5 MB, free: 6.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2191, allocations: 3.938 kB / 442.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002329/0.2193, allocations: 221.5 kB / 442.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2194, allocations: 12.03 kB / 442.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2194, allocations: 4 kB / 442.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2194, allocations: 4 kB / 442.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.2195, allocations: 47.86 kB / 442.8 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2195, allocations: 7.938 kB / 442.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.2196, allocations: 11.98 kB / 442.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.2197, allocations: 8 kB / 442.8 MB, free: 6.461 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.074e-05/0.2197, allocations: 157.7 kB / 443 MB, free: 6.297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.2198, allocations: 19.8 kB / 443 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.22, allocations: 151.2 kB / 443.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.22, allocations: 0 / 443.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.22, allocations: 4 kB / 443.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.22, allocations: 0 / 443.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005735/0.2206, allocations: 0.6689 MB / 443.8 MB, free: 5.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2206, allocations: 7.938 kB / 443.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.2207, allocations: 28.42 kB / 443.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2207, allocations: 8.062 kB / 443.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.2207, allocations: 8 kB / 443.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.2207, allocations: 7.938 kB / 443.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2207, allocations: 4 kB / 443.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.2209, allocations: 343.2 kB / 444.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.221, allocations: 104.8 kB / 444.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.221, allocations: 4 kB / 444.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.2211, allocations: 8 kB / 444.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.2211, allocations: 19.86 kB / 444.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.2212, allocations: 16 kB / 444.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.963e-05/0.2212, allocations: 144.1 kB / 444.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2212, allocations: 0 / 444.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003049/0.2215, allocations: 44 kB / 444.5 MB, free: 4.547 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.0002996/0.2219, allocations: 0.8684 MB / 445.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.222, allocations: 140.5 kB / 445.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.222, allocations: 4.062 kB / 445.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.685e-05/0.2221, allocations: 63.78 kB / 445.6 MB, free: 3.406 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.2225, allocations: 39.91 kB / 445.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.2241, allocations: 2.48 MB / 448.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.2243, allocations: 0.7634 MB / 448.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.2244, allocations: 45.53 kB / 448.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.2245, allocations: 59.42 kB / 449 MB, free: 15.74 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2245, allocations: 0 / 449 MB, free: 15.74 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.2362, allocations: 3.25 MB / 452.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.2364, allocations: 195.4 kB / 452.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.039, allocations: 0 / 452.4 MB, free: 12.26 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)