Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest",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.001562/0.001562, allocations: 181.9 kB / 15.76 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, 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.001203/0.001203, allocations: 98.83 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.2683/0.2683, allocations: 38.05 MB / 356.6 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004625, allocations: 12 kB / 422.8 MB, free: 26.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 56.33 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.596, allocations: 94.04 MB / 0.5597 GB, free: 5.648 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.5963, allocations: 91.56 kB / 0.5598 GB, free: 5.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07276/0.6691, allocations: 18 MB / 0.5774 GB, free: 6.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6691, allocations: 0 / 0.5774 GB, free: 6.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.344e-05/0.6692, allocations: 4 kB / 0.5774 GB, free: 6.676 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001304/0.6705, allocations: 0.5708 MB / 0.578 GB, free: 6.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.6706, allocations: 12.03 kB / 0.578 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.6707, allocations: 72.2 kB / 0.5781 GB, free: 6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.6727, allocations: 139.4 kB / 0.5782 GB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/0.6735, allocations: 285.2 kB / 0.5785 GB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.6736, allocations: 27.41 kB / 0.5785 GB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.803e-05/0.6737, allocations: 30.84 kB / 0.5785 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.6747, allocations: 441.3 kB / 0.5789 GB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.6748, allocations: 0 / 0.5789 GB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.6749, allocations: 9.438 kB / 0.5789 GB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002229/0.6751, allocations: 32.53 kB / 0.579 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.6761, allocations: 417.2 kB / 0.5794 GB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003666/0.6798, allocations: 1.711 MB / 0.581 GB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006159/0.6805, allocations: 295.1 kB / 0.5813 GB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-05/0.6806, allocations: 4.25 kB / 0.5813 GB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.6806, allocations: 34.69 kB / 0.5814 GB, free: 2.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.775e-06/0.6807, allocations: 0 / 0.5814 GB, free: 2.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.002933/0.6836, allocations: 0.7817 MB / 0.5821 GB, free: 2.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.6837, allocations: 81.23 kB / 0.5822 GB, free: 2.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.684, allocations: 187.6 kB / 0.5824 GB, free: 2.035 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.6841, allocations: 32.64 kB / 0.5824 GB, free: 2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.6843, allocations: 244.5 kB / 0.5826 GB, free: 1.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.6844, allocations: 80.28 kB / 0.5827 GB, free: 1.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.6844, allocations: 11.44 kB / 0.5827 GB, free: 1.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6846, allocations: 321.7 kB / 0.583 GB, free: 1.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.6849, allocations: 102.8 kB / 0.5831 GB, free: 1.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.6853, allocations: 209.9 kB / 0.5833 GB, free: 1.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004095/0.6857, allocations: 143.5 kB / 0.5835 GB, free: 1.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6857, allocations: 0 / 0.5835 GB, free: 1.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001318/0.687, allocations: 420.3 kB / 0.5839 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.6871, allocations: 8 kB / 0.5839 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.6871, allocations: 4 kB / 0.5839 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000628/0.6878, allocations: 88.45 kB / 0.584 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.6884, allocations: 55.89 kB / 0.584 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.6921, allocations: 1.832 MB / 0.5858 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.6925, allocations: 18.86 kB / 0.5858 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.6926, allocations: 19.94 kB / 0.5858 GB, free: 14.76 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000303/0.6929, allocations: 175 kB / 0.586 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.693, allocations: 19.72 kB / 0.586 GB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.6943, allocations: 382.1 kB / 0.5864 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.6943, allocations: 4 kB / 0.5864 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.6943, allocations: 4 kB / 0.5864 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.6944, allocations: 0 / 0.5864 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002573/0.6969, allocations: 0.9233 MB / 0.5873 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.697, allocations: 4.031 kB / 0.5873 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.6973, allocations: 35.92 kB / 0.5873 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/0.6979, allocations: 77.72 kB / 0.5874 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/0.6979, allocations: 3.125 kB / 0.5874 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/0.7009, allocations: 1.739 MB / 0.5891 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.701, allocations: 0 / 0.5891 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.7022, allocations: 0.4905 MB / 0.5896 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.7024, allocations: 100.8 kB / 0.5897 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.084e-05/0.7025, allocations: 3.625 kB / 0.5897 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.7028, allocations: 11.48 kB / 0.5897 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.7029, allocations: 23.88 kB / 0.5897 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.7029, allocations: 11.62 kB / 0.5897 GB, free: 11.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.7031, allocations: 154.4 kB / 0.5899 GB, free: 10.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7031, allocations: 0 / 0.5899 GB, free: 10.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007545/0.7039, allocations: 90.94 kB / 0.59 GB, free: 10.83 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001751/0.7057, allocations: 1.227 MB / 0.5912 GB, free: 9.645 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.707, allocations: 422.7 kB / 0.5916 GB, free: 9.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.707, allocations: 0 / 0.5916 GB, free: 9.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007248/0.7078, allocations: 289.1 kB / 0.5919 GB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.7082, allocations: 34.56 kB / 0.5919 GB, free: 9.027 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/0.7136, allocations: 3.745 MB / 0.5955 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005553/0.7142, allocations: 0.8123 MB / 0.5963 GB, free: 4.617 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.7145, allocations: 87.28 kB / 0.5964 GB, free: 4.59 MB / 394.7 MB Notification: Performance of SimCode: time 1.313e-06/0.7145, allocations: 0 / 0.5964 GB, free: 4.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.906/3.62, allocations: 5.602 MB / 0.6019 GB, free: 15.03 MB / 410.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)