Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.0008206/0.0008206, allocations: 87.77 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.0009206/0.0009207, allocations: 176.4 kB / 17.56 MB, free: 6.18 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.282/1.282, 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.1715/0.1715, allocations: 38.04 MB / 310.1 MB, free: 5.918 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.0004881/0.0004881, allocations: 15.12 kB / 377.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 56.33 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.002694/0.2098, allocations: 3.311 MB / 436.9 MB, free: 15.31 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2112, allocations: 1.529 MB / 438.4 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.815e-05/0.2113, allocations: 11.94 kB / 438.4 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.2114, allocations: 35.7 kB / 438.5 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.2119, allocations: 255.2 kB / 438.7 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.2121, allocations: 103.8 kB / 438.8 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.2124, allocations: 0.5612 MB / 439.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000479/0.2129, allocations: 330.8 kB / 439.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.2131, allocations: 115.4 kB / 439.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2132, allocations: 151.5 kB / 440 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.2132, allocations: 8 kB / 440 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.2136, allocations: 379.1 kB / 440.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.426e-05/0.2137, allocations: 95.7 kB / 440.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.987e-05/0.2138, allocations: 125.2 kB / 440.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.2141, allocations: 354.9 kB / 440.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2141, allocations: 3.938 kB / 440.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2141, allocations: 0 / 440.9 MB, free: 11.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.2141, allocations: 0 / 440.9 MB, free: 11.26 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.0004388/0.2146, allocations: 482.6 kB / 441.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2146, allocations: 8.031 kB / 441.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.2146, allocations: 58.72 kB / 441.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007227/0.2154, allocations: 92.56 kB / 441.5 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.2156, allocations: 264.4 kB / 441.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.2156, allocations: 16.12 kB / 441.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.2157, allocations: 19.94 kB / 441.8 MB, free: 10.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.216, allocations: 314.3 kB / 442.1 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.216, allocations: 0 / 442.1 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.2161, allocations: 12 kB / 442.2 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.2161, allocations: 23.92 kB / 442.2 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.2164, allocations: 283.8 kB / 442.5 MB, free: 9.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.2176, allocations: 1.305 MB / 443.8 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.218, allocations: 209.1 kB / 444 MB, free: 7.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.2181, allocations: 57.77 kB / 444 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.2181, allocations: 3.984 kB / 444 MB, free: 7.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.2182, allocations: 42.56 kB / 444.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2182, allocations: 3.938 kB / 444.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007286/0.2189, allocations: 426.4 kB / 444.5 MB, free: 7.406 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.2189, allocations: 77.11 kB / 444.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2191, allocations: 202.3 kB / 444.8 MB, free: 7.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2191, allocations: 29.7 kB / 444.8 MB, free: 7.066 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.2191, allocations: 163.8 kB / 445 MB, free: 6.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.2192, allocations: 43.36 kB / 445 MB, free: 6.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.2192, allocations: 21.72 kB / 445 MB, free: 6.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.546e-05/0.2193, allocations: 334.8 kB / 445.3 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.2193, allocations: 47.97 kB / 445.4 MB, free: 6.449 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.2194, allocations: 160.7 kB / 445.5 MB, free: 6.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.2196, allocations: 224.2 kB / 445.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2196, allocations: 4 kB / 445.8 MB, free: 5.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003331/0.22, allocations: 262 kB / 446 MB, free: 5.715 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.22, allocations: 8 kB / 446 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.22, allocations: 4 kB / 446 MB, free: 5.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.2202, allocations: 40.77 kB / 446.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.2203, allocations: 43.97 kB / 446.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006646/0.221, allocations: 1.339 MB / 447.5 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2211, allocations: 11.98 kB / 447.5 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.2211, allocations: 12 kB / 447.5 MB, free: 4.121 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/0.2212, allocations: 153.9 kB / 447.6 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.2213, allocations: 23.73 kB / 447.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.2216, allocations: 190.8 kB / 447.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2216, allocations: 7.984 kB / 447.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2216, allocations: 3.984 kB / 447.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2216, allocations: 0 / 447.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005719/0.2222, allocations: 0.5602 MB / 448.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2222, allocations: 0 / 448.4 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-05/0.2223, allocations: 23.92 kB / 448.4 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.2224, allocations: 36.92 kB / 448.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2224, allocations: 0 / 448.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006024/0.223, allocations: 1.327 MB / 449.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.223, allocations: 0 / 449.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.2233, allocations: 303.5 kB / 450.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.2233, allocations: 88.92 kB / 450.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.2234, allocations: 8 kB / 450.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.582e-05/0.2235, allocations: 3.984 kB / 450.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.2235, allocations: 15.98 kB / 450.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.2235, allocations: 4 kB / 450.2 MB, free: 1.121 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.386e-05/0.2236, allocations: 148.1 kB / 450.4 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2236, allocations: 4 kB / 450.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.2239, allocations: 48 kB / 450.4 MB, free: 0.9258 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003977/0.2243, allocations: 0.8334 MB / 451.2 MB, free: 52 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004107/0.2247, allocations: 258.5 kB / 451.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.2247, allocations: 0.875 kB / 451.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.225, allocations: 182.5 kB / 451.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.2253, allocations: 32.72 kB / 451.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.2278, allocations: 2.473 MB / 454.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.2281, allocations: 0.7632 MB / 454.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.2282, allocations: 37.5 kB / 455 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.2283, allocations: 59.42 kB / 455 MB, free: 12 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2283, allocations: 4 kB / 455 MB, free: 12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01384/0.2421, allocations: 3.538 MB / 458.6 MB, free: 8.516 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.2424, allocations: 223.3 kB / 458.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/1.995, allocations: 0 / 458.8 MB, free: 8.254 MB / 334.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)