Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P,fileNamePrefix="AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P",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.0008886/0.0008886, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001023/0.001023, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2611/0.2611, allocations: 22.35 MB / 313.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002804, allocations: 8 kB / 380 MB, free: 12.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3402, allocations: 55.98 MB / 436 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P): time 0.00216/0.3424, allocations: 1.294 MB / 437.3 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.3432, allocations: 424 kB / 437.7 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.002e-05/0.3434, allocations: 3 kB / 437.7 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.951e-05/0.3434, allocations: 7.172 kB / 437.7 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.3436, allocations: 22.06 kB / 437.7 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.066e-05/0.3437, allocations: 14.47 kB / 437.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.3438, allocations: 95.75 kB / 437.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3439, allocations: 22.7 kB / 437.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3441, allocations: 36.11 kB / 437.9 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.593e-05/0.3441, allocations: 41.33 kB / 437.9 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3442, allocations: 3.75 kB / 438 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.3442, allocations: 7.75 kB / 438 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.3442, allocations: 11.17 kB / 438 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.3443, allocations: 42.33 kB / 438 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/0.3444, allocations: 69.3 kB / 438.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3444, allocations: 0 / 438.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3444, allocations: 0 / 438.1 MB, free: 36.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3444, allocations: 4 kB / 438.1 MB, free: 36.8 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004945/0.3449, allocations: 392 kB / 438.5 MB, free: 36.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3449, allocations: 9.188 kB / 438.5 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.214e-05/0.345, allocations: 40.56 kB / 438.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.3451, allocations: 9.156 kB / 438.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3452, allocations: 200.1 kB / 438.7 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3453, allocations: 9.844 kB / 438.7 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.3453, allocations: 7.062 kB / 438.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3454, allocations: 75.77 kB / 438.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3455, allocations: 6.922 kB / 438.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3455, allocations: 4 kB / 438.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3455, allocations: 6.75 kB / 438.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.691e-05/0.3456, allocations: 39.05 kB / 438.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.3462, allocations: 377 kB / 439.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.3465, allocations: 90.22 kB / 439.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.3466, allocations: 35.33 kB / 439.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.3466, allocations: 2.875 kB / 439.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.3466, allocations: 38.56 kB / 439.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.3466, allocations: 0 / 439.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007934/0.3474, allocations: 418.5 kB / 439.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.3475, allocations: 58.03 kB / 439.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.3476, allocations: 144.4 kB / 440 MB, free: 35.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3476, allocations: 25.7 kB / 440 MB, free: 35.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.3477, allocations: 112.8 kB / 440.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3477, allocations: 38.59 kB / 440.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.3477, allocations: 2.5 kB / 440.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.655e-05/0.3478, allocations: 324 kB / 440.5 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-05/0.3478, allocations: 29.12 kB / 440.5 MB, free: 34.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.762e-05/0.3479, allocations: 49.94 kB / 440.6 MB, free: 34.58 MB / 350.1 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.3482, allocations: 110.9 kB / 440.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3482, allocations: 3.938 kB / 440.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002345/0.3485, allocations: 160.9 kB / 440.8 MB, free: 34.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.3485, allocations: 9.219 kB / 440.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3485, allocations: 0 / 440.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/0.3487, allocations: 31.92 kB / 440.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.3488, allocations: 27.47 kB / 440.9 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.3498, allocations: 1.446 MB / 442.4 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.04e-05/0.3499, allocations: 4 kB / 442.4 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3499, allocations: 6.438 kB / 442.4 MB, free: 32.99 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: G.deltag:VARIABLE(unit = "rad" fixed = true ) "generator angle wrt port" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: G.Pm = G.Pcmd. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.3501, allocations: 136.6 kB / 442.5 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.3501, allocations: 6.844 kB / 442.5 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.3501, allocations: 15.72 kB / 442.5 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3501, allocations: 2.938 kB / 442.5 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3501, allocations: 0 / 442.5 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3502, allocations: 3.328 kB / 442.5 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.3506, allocations: 432.2 kB / 442.9 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3506, allocations: 0 / 442.9 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.3507, allocations: 18.84 kB / 443 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.3508, allocations: 38.19 kB / 443 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3509, allocations: 6.562 kB / 443 MB, free: 32.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008373/0.3517, allocations: 1.446 MB / 444.5 MB, free: 31.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3517, allocations: 8.031 kB / 444.5 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.352, allocations: 270.5 kB / 444.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.821e-05/0.352, allocations: 87.95 kB / 444.8 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3521, allocations: 2.781 kB / 444.8 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.3521, allocations: 7.234 kB / 444.8 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.3522, allocations: 20.81 kB / 444.8 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.3522, allocations: 2.812 kB / 444.8 MB, free: 30.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.216e-05/0.3523, allocations: 113.6 kB / 445 MB, free: 30.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3523, allocations: 0 / 445 MB, free: 30.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.3526, allocations: 27.75 kB / 445 MB, free: 30.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (G.thetap,G.deltag,G.wg) * 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 (8): * Single equations (assignments): 7 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004842/0.3531, allocations: 0.8025 MB / 445.8 MB, free: 29.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.3534, allocations: 194.4 kB / 446 MB, free: 29.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3534, allocations: 0 / 446 MB, free: 29.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001261/0.3536, allocations: 157.8 kB / 446.1 MB, free: 29.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.3538, allocations: 11.88 kB / 446.1 MB, free: 29.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3554, allocations: 1.04 MB / 447.2 MB, free: 28.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.3556, allocations: 0.7044 MB / 447.9 MB, free: 28.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.3557, allocations: 10.06 kB / 447.9 MB, free: 28.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.3557, allocations: 32.78 kB / 447.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3557, allocations: 0 / 447.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.3727, allocations: 2.59 MB / 450.5 MB, free: 27.92 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.3729, allocations: 228.4 kB / 450.7 MB, free: 27.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.112, allocations: 0 / 450.7 MB, free: 27.68 MB / 350.1 MB (rm -f AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; mkfifo AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe >> ../files/AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Electric_Generators_PAport_Generator_order0_fixed_P.fmu > AES_AES.ProcessComponents.Electric.Generators_PAport.Generator_order0_fixed_P.pipe 2>&1) Environment - environmentSimulation: