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 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.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.001126/0.001126, allocations: 112.2 kB / 16.51 MB, free: 6.715 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.001005/0.001005, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.431/1.431, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1729/0.1729, allocations: 37.98 MB / 308.6 MB, free: 6.246 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.001379/0.001379, allocations: 75.02 kB / 374.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3041, allocations: 55.23 MB / 430 MB, free: 19.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002715/0.3068, allocations: 1.438 MB / 431.4 MB, free: 18.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004161/0.3073, allocations: 275.7 kB / 431.7 MB, free: 18.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.3073, allocations: 0 / 431.7 MB, free: 18.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.3076, allocations: 23.91 kB / 431.7 MB, free: 18.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.3077, allocations: 23.92 kB / 431.7 MB, free: 18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.3079, allocations: 70.86 kB / 431.8 MB, free: 17.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.308, allocations: 43.91 kB / 431.8 MB, free: 17.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.654e-05/0.3081, allocations: 4 kB / 431.8 MB, free: 17.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.3082, allocations: 31.84 kB / 431.9 MB, free: 17.85 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.3083, allocations: 23.86 kB / 431.9 MB, free: 17.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.3083, allocations: 0 / 431.9 MB, free: 17.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.48e-05/0.3084, allocations: 59.89 kB / 431.9 MB, free: 17.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.3085, allocations: 11.92 kB / 432 MB, free: 17.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.3085, allocations: 15.88 kB / 432 MB, free: 17.74 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3087, allocations: 97.95 kB / 432.1 MB, free: 17.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3087, allocations: 4 kB / 432.1 MB, free: 17.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3087, allocations: 0 / 432.1 MB, free: 17.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.3087, allocations: 0 / 432.1 MB, free: 17.64 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004131/0.3091, allocations: 379.2 kB / 432.4 MB, free: 17.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3092, allocations: 12.03 kB / 432.4 MB, free: 17.21 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.3092, allocations: 42.73 kB / 432.5 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.3093, allocations: 8.844 kB / 432.5 MB, free: 17.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.3095, allocations: 184.3 kB / 432.7 MB, free: 16.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.3095, allocations: 4.375 kB / 432.7 MB, free: 16.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3095, allocations: 4.375 kB / 432.7 MB, free: 16.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.3096, allocations: 67.28 kB / 432.8 MB, free: 16.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3096, allocations: 0 / 432.8 MB, free: 16.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3096, allocations: 0 / 432.8 MB, free: 16.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3096, allocations: 4 kB / 432.8 MB, free: 16.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.019e-05/0.3097, allocations: 15.98 kB / 432.8 MB, free: 16.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.31, allocations: 284.8 kB / 433.1 MB, free: 16.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/0.3101, allocations: 42.48 kB / 433.1 MB, free: 16.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.3101, allocations: 12.92 kB / 433.1 MB, free: 16.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.3102, allocations: 0 / 433.1 MB, free: 16.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.3102, allocations: 38.55 kB / 433.1 MB, free: 16.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.3102, allocations: 0 / 433.1 MB, free: 16.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001568/0.3103, allocations: 53.59 kB / 433.2 MB, free: 16.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.3104, allocations: 89.05 kB / 433.3 MB, free: 16.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3105, allocations: 138.2 kB / 433.4 MB, free: 16.08 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3105, allocations: 25.7 kB / 433.4 MB, free: 16.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.3106, allocations: 100.1 kB / 433.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.3106, allocations: 11.8 kB / 433.6 MB, free: 15.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.3106, allocations: 17.72 kB / 433.6 MB, free: 15.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.3107, allocations: 322.8 kB / 433.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.3107, allocations: 12 kB / 433.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.724e-05/0.3107, allocations: 13.72 kB / 433.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.945e-05/0.3108, allocations: 20.84 kB / 433.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3108, allocations: 0 / 433.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.37e-05/0.3108, allocations: 53.62 kB / 434 MB, free: 15.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3108, allocations: 4 kB / 434 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3109, allocations: 0 / 434 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.3109, allocations: 0 / 434 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/0.3109, allocations: 4 kB / 434 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3109, allocations: 11.91 kB / 434 MB, free: 15.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.311, allocations: 7.906 kB / 434 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.311, allocations: 0 / 434 MB, free: 15.45 MB / 318.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 6.981e-05/0.3111, allocations: 129.6 kB / 434.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.3111, allocations: 4 kB / 434.1 MB, free: 15.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.3112, allocations: 61.53 kB / 434.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3112, allocations: 0 / 434.2 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3112, allocations: 4 kB / 434.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3112, allocations: 3.984 kB / 434.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.3114, allocations: 181.5 kB / 434.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3114, allocations: 0 / 434.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.3114, allocations: 4 kB / 434.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3114, allocations: 0 / 434.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3114, allocations: 0 / 434.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3114, allocations: 0 / 434.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3114, allocations: 0 / 434.4 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.821e-05/0.3115, allocations: 151.9 kB / 434.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.3116, allocations: 89 kB / 434.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3116, allocations: 4 kB / 434.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.3117, allocations: 48 / 434.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.3117, allocations: 7.984 kB / 434.6 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3117, allocations: 0 / 434.6 MB, free: 14.72 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.871e-05/0.3118, allocations: 123.3 kB / 434.8 MB, free: 14.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3118, allocations: 0 / 434.8 MB, free: 14.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002447/0.312, allocations: 15.94 kB / 434.8 MB, free: 14.58 MB / 318.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.001053/0.3131, allocations: 0.9605 MB / 435.7 MB, free: 13.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.116e-05/0.3132, allocations: 19.98 kB / 435.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3132, allocations: 0 / 435.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.3132, allocations: 11.94 kB / 435.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3136, allocations: 15.98 kB / 435.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009475/0.3145, allocations: 1.328 MB / 437.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.3147, allocations: 0.6887 MB / 437.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.3147, allocations: 11.98 kB / 437.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.3148, allocations: 23.42 kB / 437.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3148, allocations: 4 kB / 437.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.3308, allocations: 2.346 MB / 440.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.331, allocations: 239.7 kB / 440.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.149, allocations: 0 / 440.4 MB, free: 8.812 MB / 318.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)