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.002152/0.002151, allocations: 182.2 kB / 15.76 MB, free: 6.363 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.037/2.037, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001171/0.00117, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2666/0.2666, allocations: 38.06 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006463/0.0006461, allocations: 16 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1138, allocations: 56.33 MB / 479.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4981/0.612, allocations: 94 MB / 0.5597 GB, free: 6.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004376/0.6125, allocations: 88.78 kB / 0.5598 GB, free: 5.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05582/0.6683, allocations: 13.22 MB / 0.5727 GB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6684, allocations: 0 / 0.5727 GB, free: 11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.6684, allocations: 4 kB / 0.5727 GB, free: 11 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.0009576/0.6694, allocations: 0.5021 MB / 0.5732 GB, free: 10.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.6694, allocations: 8.031 kB / 0.5732 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.747e-05/0.6695, allocations: 59.03 kB / 0.5733 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.6709, allocations: 99.56 kB / 0.5733 GB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.6714, allocations: 271.5 kB / 0.5736 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.6715, allocations: 7.688 kB / 0.5736 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.6715, allocations: 15.12 kB / 0.5736 GB, free: 10 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.6723, allocations: 322 kB / 0.5739 GB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.6723, allocations: 4 kB / 0.5739 GB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.6724, allocations: 3.938 kB / 0.5739 GB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.6725, allocations: 23.48 kB / 0.574 GB, free: 9.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006699/0.6732, allocations: 276.6 kB / 0.5742 GB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.6758, allocations: 1.295 MB / 0.5755 GB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.6764, allocations: 171.8 kB / 0.5757 GB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.6765, allocations: 8.047 kB / 0.5757 GB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.6766, allocations: 34.5 kB / 0.5757 GB, free: 8.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 4.168e-06/0.6766, allocations: 0 / 0.5757 GB, free: 8.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001512/0.6781, allocations: 416.1 kB / 0.5761 GB, free: 7.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.6782, allocations: 81.11 kB / 0.5762 GB, free: 7.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.6785, allocations: 178.5 kB / 0.5763 GB, free: 7.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.6785, allocations: 29.14 kB / 0.5764 GB, free: 7.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.6787, allocations: 224.1 kB / 0.5766 GB, free: 7.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.6787, allocations: 46.72 kB / 0.5766 GB, free: 7.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/0.6788, allocations: 11.81 kB / 0.5766 GB, free: 7.176 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6789, allocations: 326 kB / 0.5769 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.6791, allocations: 49.53 kB / 0.577 GB, free: 6.816 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.6793, allocations: 137.5 kB / 0.5771 GB, free: 6.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.6795, allocations: 85.39 kB / 0.5772 GB, free: 6.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6795, allocations: 0 / 0.5772 GB, free: 6.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007488/0.6803, allocations: 239.4 kB / 0.5774 GB, free: 6.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.6803, allocations: 8.438 kB / 0.5774 GB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.6804, allocations: 8 kB / 0.5775 GB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003456/0.6807, allocations: 36.2 kB / 0.5775 GB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.681, allocations: 47.61 kB / 0.5775 GB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.6826, allocations: 1.353 MB / 0.5789 GB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.6829, allocations: 15.08 kB / 0.5789 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.683, allocations: 11.98 kB / 0.5789 GB, free: 4.863 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 (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.0002337/0.6832, allocations: 162.5 kB / 0.579 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/0.6833, allocations: 15.81 kB / 0.5791 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005808/0.6839, allocations: 181.7 kB / 0.5792 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6839, allocations: 4 kB / 0.5792 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6839, allocations: 3.953 kB / 0.5792 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.6839, allocations: 0 / 0.5792 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.6851, allocations: 0.5568 MB / 0.5798 GB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.6852, allocations: 7.984 kB / 0.5798 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.6853, allocations: 19.94 kB / 0.5798 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002395/0.6856, allocations: 32.08 kB / 0.5798 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.6856, allocations: 3 kB / 0.5798 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.6871, allocations: 1.335 MB / 0.5811 GB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6871, allocations: 4.062 kB / 0.5811 GB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/0.6878, allocations: 342.8 kB / 0.5815 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6879, allocations: 100.2 kB / 0.5816 GB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.6879, allocations: 0 / 0.5816 GB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.6881, allocations: 7.312 kB / 0.5816 GB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.307e-05/0.6882, allocations: 11.98 kB / 0.5816 GB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.6882, allocations: 6.938 kB / 0.5816 GB, free: 2.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001963/0.6884, allocations: 147.3 kB / 0.5817 GB, free: 1.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6885, allocations: 0 / 0.5817 GB, free: 1.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005473/0.689, allocations: 54.81 kB / 0.5818 GB, free: 1.863 MB / 378.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 () * 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 (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.001115/0.6901, allocations: 1.154 MB / 0.5829 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008491/0.691, allocations: 261.3 kB / 0.5832 GB, free: 472 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6911, allocations: 0 / 0.5832 GB, free: 472 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.6914, allocations: 185.8 kB / 0.5833 GB, free: 288 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.6918, allocations: 31.5 kB / 0.5834 GB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.6955, allocations: 3.378 MB / 0.5867 GB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.696, allocations: 0.7694 MB / 0.5874 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.6961, allocations: 59.73 kB / 0.5875 GB, free: 12.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6961, allocations: 0 / 0.5875 GB, free: 12.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.611/3.307, allocations: 4.073 MB / 0.5915 GB, free: 8.051 MB / 394.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)