Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",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.001757/0.001757, allocations: 114.1 kB / 17.07 MB, free: 6.016 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.001915/0.001915, allocations: 189.4 kB / 18 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1787/0.1787, allocations: 38.03 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 63.91 kB / 457.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3304, allocations: 58.06 MB / 0.5036 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002362/0.3328, allocations: 1.386 MB / 0.5049 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005337/0.3333, allocations: 371.1 kB / 0.5053 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.3334, allocations: 1.094 kB / 0.5053 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.3336, allocations: 23.84 kB / 0.5053 GB, free: 6.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.3338, allocations: 39.39 kB / 0.5054 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.334, allocations: 75.02 kB / 0.5054 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3341, allocations: 54.67 kB / 0.5055 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.3341, allocations: 4.203 kB / 0.5055 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3343, allocations: 31.97 kB / 0.5055 GB, free: 6.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.3343, allocations: 26.45 kB / 0.5055 GB, free: 6.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.3343, allocations: 5.75 kB / 0.5055 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.3344, allocations: 45.81 kB / 0.5056 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.3345, allocations: 18.53 kB / 0.5056 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.3345, allocations: 29.59 kB / 0.5056 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3347, allocations: 86.78 kB / 0.5057 GB, free: 6.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3347, allocations: 1.312 kB / 0.5057 GB, free: 6.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3347, allocations: 0 / 0.5057 GB, free: 6.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.3347, allocations: 0 / 0.5057 GB, free: 6.148 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000319/0.3351, allocations: 379.6 kB / 0.5061 GB, free: 5.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3351, allocations: 18.38 kB / 0.5061 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.223e-05/0.3351, allocations: 36.52 kB / 0.5061 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.3352, allocations: 8.266 kB / 0.5061 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.3353, allocations: 193.1 kB / 0.5063 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.3353, allocations: 1.562 kB / 0.5063 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.3354, allocations: 3.062 kB / 0.5063 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.582e-05/0.3355, allocations: 68.34 kB / 0.5064 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3355, allocations: 0.5625 kB / 0.5064 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3355, allocations: 1.312 kB / 0.5064 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3355, allocations: 4 kB / 0.5064 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.3356, allocations: 18.61 kB / 0.5064 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.3358, allocations: 282.9 kB / 0.5067 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.102e-05/0.3359, allocations: 35.69 kB / 0.5067 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.3359, allocations: 14.2 kB / 0.5067 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.336, allocations: 1.469 kB / 0.5067 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.336, allocations: 36.42 kB / 0.5068 GB, free: 5.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.336, allocations: 0 / 0.5068 GB, free: 5.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001566/0.3361, allocations: 65.06 kB / 0.5068 GB, free: 5.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.3362, allocations: 77.86 kB / 0.5069 GB, free: 4.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3363, allocations: 139.3 kB / 0.507 GB, free: 4.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.3363, allocations: 25.7 kB / 0.5071 GB, free: 4.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.047e-05/0.3363, allocations: 98.22 kB / 0.5072 GB, free: 4.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.3364, allocations: 9.797 kB / 0.5072 GB, free: 4.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.3364, allocations: 22.86 kB / 0.5072 GB, free: 4.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.3364, allocations: 318.6 kB / 0.5075 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.3365, allocations: 8.016 kB / 0.5075 GB, free: 4.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.3365, allocations: 21.69 kB / 0.5075 GB, free: 4.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.3365, allocations: 18.56 kB / 0.5075 GB, free: 4.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3365, allocations: 1.5 kB / 0.5075 GB, free: 4.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.833e-05/0.3366, allocations: 50.47 kB / 0.5076 GB, free: 4.254 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3366, allocations: 14.67 kB / 0.5076 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.3366, allocations: 0 / 0.5076 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3366, allocations: 0 / 0.5076 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.814e-05/0.3367, allocations: 5.578 kB / 0.5076 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3367, allocations: 0.7969 kB / 0.5076 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.3367, allocations: 9.141 kB / 0.5076 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3367, allocations: 5.188 kB / 0.5076 GB, free: 4.234 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.062e-05/0.3368, allocations: 116.3 kB / 0.5077 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.3368, allocations: 3.469 kB / 0.5077 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.3369, allocations: 71.92 kB / 0.5078 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.337, allocations: 1.156 kB / 0.5078 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.337, allocations: 0 / 0.5078 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.337, allocations: 0.6094 kB / 0.5078 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.3371, allocations: 178.6 kB / 0.508 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3371, allocations: 0 / 0.508 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.3371, allocations: 5.641 kB / 0.508 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3371, allocations: 1 kB / 0.508 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.3371, allocations: 0.5625 kB / 0.508 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3371, allocations: 1.062 kB / 0.508 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3372, allocations: 0 / 0.508 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8e-05/0.3372, allocations: 151.6 kB / 0.5081 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.3373, allocations: 87.67 kB / 0.5082 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.3373, allocations: 1.688 kB / 0.5082 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.705e-05/0.3373, allocations: 1.125 kB / 0.5082 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.3374, allocations: 3.578 kB / 0.5082 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3374, allocations: 1.125 kB / 0.5082 GB, free: 3.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.741e-05/0.3374, allocations: 116.9 kB / 0.5083 GB, free: 3.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3374, allocations: 4 kB / 0.5083 GB, free: 3.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.3377, allocations: 17.41 kB / 0.5084 GB, free: 3.512 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001364/0.3391, allocations: 0.9781 MB / 0.5093 GB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.3392, allocations: 21.94 kB / 0.5093 GB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3392, allocations: 1 kB / 0.5093 GB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.3392, allocations: 15.03 kB / 0.5093 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.3395, allocations: 15.27 kB / 0.5094 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.3403, allocations: 1.32 MB / 0.5107 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.3404, allocations: 0.6888 MB / 0.5113 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.3405, allocations: 14.78 kB / 0.5113 GB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.3406, allocations: 23.58 kB / 0.5114 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3406, allocations: 0 / 0.5114 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.3641, allocations: 2.529 MB / 0.5138 GB, free: 52 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.94/8.304, allocations: 15.36 kB / 0.5138 GB, free: 40 kB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_Tables_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_Tables.fmu > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)