Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.001529/0.001529, allocations: 186 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.07/2.07, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.00109/0.00109, allocations: 85.38 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2787/0.2787, allocations: 37.96 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.952e-05/3.965e-05, allocations: 0 / 416.9 MB, free: 41.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1068, allocations: 56.31 MB / 473.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4789/0.5858, allocations: 93.92 MB / 0.5538 GB, free: 9.746 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.5862, allocations: 83.95 kB / 0.5539 GB, free: 9.664 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05197/0.6382, allocations: 13.15 MB / 0.5668 GB, free: 12.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6382, allocations: 4 kB / 0.5668 GB, free: 12.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.6383, allocations: 4 kB / 0.5668 GB, free: 12.35 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.000831/0.6391, allocations: 482.2 kB / 0.5672 GB, free: 11.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6392, allocations: 8.031 kB / 0.5672 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.772e-05/0.6393, allocations: 62.52 kB / 0.5673 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.6405, allocations: 103.6 kB / 0.5674 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.641, allocations: 267.2 kB / 0.5676 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.6411, allocations: 12 kB / 0.5677 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.261e-05/0.6412, allocations: 23.89 kB / 0.5677 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/0.6419, allocations: 298.3 kB / 0.568 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.6419, allocations: 4 kB / 0.568 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.642, allocations: 8 kB / 0.568 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.6421, allocations: 27.97 kB / 0.568 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/0.6428, allocations: 275.7 kB / 0.5683 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.6453, allocations: 1.297 MB / 0.5695 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.6459, allocations: 161.2 kB / 0.5697 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.6461, allocations: 53.77 kB / 0.5697 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.6461, allocations: 4 kB / 0.5697 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.6461, allocations: 34.56 kB / 0.5698 GB, free: 9.008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.565e-06/0.6462, allocations: 3.938 kB / 0.5698 GB, free: 9.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000966/0.6471, allocations: 289.2 kB / 0.57 GB, free: 8.711 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.6472, allocations: 77.11 kB / 0.5701 GB, free: 8.617 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.6475, allocations: 169.5 kB / 0.5703 GB, free: 8.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.6475, allocations: 33.7 kB / 0.5703 GB, free: 8.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.6476, allocations: 218.2 kB / 0.5705 GB, free: 8.188 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/0.6477, allocations: 59.31 kB / 0.5706 GB, free: 8.129 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.6478, allocations: 4 kB / 0.5706 GB, free: 8.125 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6479, allocations: 326.8 kB / 0.5709 GB, free: 7.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.6481, allocations: 43.98 kB / 0.5709 GB, free: 7.754 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.6483, allocations: 152.7 kB / 0.5711 GB, free: 7.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.6485, allocations: 67.03 kB / 0.5711 GB, free: 7.496 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.6485, allocations: 4 kB / 0.5712 GB, free: 7.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007053/0.6492, allocations: 249.9 kB / 0.5714 GB, free: 7.238 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.6493, allocations: 11.91 kB / 0.5714 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.6493, allocations: 0 / 0.5714 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/0.6496, allocations: 41.27 kB / 0.5714 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.6499, allocations: 47.91 kB / 0.5715 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.6515, allocations: 1.343 MB / 0.5728 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.6518, allocations: 11.98 kB / 0.5728 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.6518, allocations: 8 kB / 0.5728 GB, free: 5.641 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 (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.6519, allocations: 122.8 kB / 0.5729 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.652, allocations: 15.81 kB / 0.5729 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005605/0.6526, allocations: 177 kB / 0.5731 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.6526, allocations: 4.016 kB / 0.5731 GB, free: 5.312 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6526, allocations: 11.94 kB / 0.5731 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6526, allocations: 3.984 kB / 0.5731 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.6538, allocations: 0.5483 MB / 0.5737 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.6539, allocations: 8.094 kB / 0.5737 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.654, allocations: 24 kB / 0.5737 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/0.6543, allocations: 32.83 kB / 0.5737 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.6543, allocations: 0 / 0.5737 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.6557, allocations: 1.323 MB / 0.575 GB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6557, allocations: 0 / 0.575 GB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005869/0.6563, allocations: 335.2 kB / 0.5753 GB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.282e-05/0.6564, allocations: 92.92 kB / 0.5754 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.6564, allocations: 4 kB / 0.5754 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.6566, allocations: 11.98 kB / 0.5754 GB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.6567, allocations: 8 kB / 0.5755 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.6567, allocations: 7.984 kB / 0.5755 GB, free: 2.637 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.6569, allocations: 144.1 kB / 0.5756 GB, free: 2.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6569, allocations: 0 / 0.5756 GB, free: 2.496 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005167/0.6574, allocations: 71.86 kB / 0.5757 GB, free: 2.426 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/0.6585, allocations: 1.151 MB / 0.5768 GB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006883/0.6592, allocations: 262.3 kB / 0.577 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6592, allocations: 0 / 0.577 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.6595, allocations: 179.2 kB / 0.5772 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.6599, allocations: 28.17 kB / 0.5772 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.661, allocations: 405.8 kB / 0.5776 GB, free: 296 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.6615, allocations: 0.7679 MB / 0.5784 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.6616, allocations: 59.41 kB / 0.5784 GB, free: 15.44 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6617, allocations: 0 / 0.5784 GB, free: 15.44 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.005/3.667, allocations: 4.116 MB / 0.5825 GB, free: 11.31 MB / 426.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)