Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",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.0009679/0.0009678, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.432/1.432, allocations: 223.3 MB / 239.4 MB, free: 5.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 183.5 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5353/0.5353, allocations: 91.92 MB / 433.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003765, allocations: 12 kB / 0.5049 GB, free: 7.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3452, allocations: 72.46 MB / 0.5756 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.005128/0.3504, allocations: 6.558 MB / 0.582 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003657/0.3541, allocations: 2.052 MB / 0.584 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006684/0.3548, allocations: 11.38 kB / 0.5841 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.3554, allocations: 184.9 kB / 0.5842 GB, free: 30.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.3571, allocations: 0.7285 MB / 0.5849 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.3582, allocations: 0.5942 MB / 0.5855 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.3595, allocations: 1.575 MB / 0.5871 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.3598, allocations: 287.4 kB / 0.5873 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.3605, allocations: 0.5995 MB / 0.5879 GB, free: 28.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007049/0.3612, allocations: 0.7852 MB / 0.5887 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.3613, allocations: 63.44 kB / 0.5888 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.3619, allocations: 195.3 kB / 0.5889 GB, free: 28.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.3622, allocations: 278.5 kB / 0.5892 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.3627, allocations: 0.6471 MB / 0.5898 GB, free: 27.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.364, allocations: 1.625 MB / 0.5914 GB, free: 27.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3641, allocations: 0 / 0.5914 GB, free: 27.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3641, allocations: 1.156 kB / 0.5914 GB, free: 27.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3641, allocations: 4 kB / 0.5914 GB, free: 27.25 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009459/0.3736, allocations: 2.587 MB / 0.594 GB, free: 26.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.3736, allocations: 10.12 kB / 0.594 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003513/0.374, allocations: 129.2 kB / 0.5941 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005336/0.3793, allocations: 0.7844 MB / 0.5949 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.381, allocations: 0.9214 MB / 0.5958 GB, free: 25.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.3813, allocations: 279 kB / 0.596 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.3815, allocations: 87 kB / 0.5961 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.3837, allocations: 1.173 MB / 0.5972 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.3837, allocations: 0 / 0.5972 GB, free: 24.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/0.3838, allocations: 31.03 kB / 0.5973 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.3839, allocations: 17.62 kB / 0.5973 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.386, allocations: 1.066 MB / 0.5983 GB, free: 24.18 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007166/0.3932, allocations: 4.005 MB / 0.6022 GB, free: 21.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008695/0.4019, allocations: 2.955 MB / 0.6051 GB, free: 21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.4038, allocations: 0.7623 MB / 0.6059 GB, free: 20.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.404, allocations: 16.8 kB / 0.6059 GB, free: 20.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001944/0.4059, allocations: 0.8979 MB / 0.6068 GB, free: 20.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 4.018e-06/0.4059, allocations: 3.984 kB / 0.6068 GB, free: 20.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.03256/0.4385, allocations: 8.647 MB / 0.6152 GB, free: 18.79 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.4386, allocations: 117.8 kB / 0.6153 GB, free: 18.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.4407, allocations: 1.142 MB / 0.6164 GB, free: 18.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002602/0.441, allocations: 46.52 kB / 0.6165 GB, free: 18.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.4413, allocations: 0.4958 MB / 0.617 GB, free: 17.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003288/0.4416, allocations: 366.7 kB / 0.6173 GB, free: 17.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.4418, allocations: 151.4 kB / 0.6175 GB, free: 17.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.931e-05/0.4418, allocations: 305.1 kB / 0.6178 GB, free: 16.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.4435, allocations: 0.8574 MB / 0.6186 GB, free: 16.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.4453, allocations: 1.034 MB / 0.6196 GB, free: 15.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02486/0.4702, allocations: 6.373 MB / 0.6258 GB, free: 9.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.4702, allocations: 0 / 0.6258 GB, free: 9.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01572/0.486, allocations: 5.344 MB / 0.631 GB, free: 4.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.353e-05/0.4861, allocations: 61.44 kB / 0.6311 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.4861, allocations: 0 / 0.6311 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006369/0.4925, allocations: 1.951 MB / 0.633 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.494, allocations: 295.6 kB / 0.6333 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/0.5162, allocations: 8.944 MB / 0.642 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/0.5188, allocations: 242.6 kB / 0.6423 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003519/0.5192, allocations: 67.95 kB / 0.6423 GB, free: 8.602 MB / 446.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001113/0.5204, allocations: 300.2 kB / 0.6426 GB, free: 8.293 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/0.5209, allocations: 130.4 kB / 0.6427 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/0.5363, allocations: 4.768 MB / 0.6474 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-05/0.5363, allocations: 8 kB / 0.6474 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-05/0.5364, allocations: 11.98 kB / 0.6474 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-05/0.5364, allocations: 3.984 kB / 0.6474 GB, free: 3.344 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/0.5552, allocations: 6.407 MB / 0.6537 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.5552, allocations: 4 kB / 0.6537 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007966/0.556, allocations: 107.9 kB / 0.6538 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006356/0.5624, allocations: 1.88 MB / 0.6556 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002663/0.5627, allocations: 19.98 kB / 0.6556 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02285/0.5856, allocations: 9.688 MB / 0.6651 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5856, allocations: 0 / 0.6651 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/0.603, allocations: 5.709 MB / 0.6707 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/0.6037, allocations: 235.2 kB / 0.6709 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005111/0.6042, allocations: 28 kB / 0.6709 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.6059, allocations: 139.9 kB / 0.6711 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007226/0.6067, allocations: 200.6 kB / 0.6712 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.6069, allocations: 24 kB / 0.6713 GB, free: 10.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001506/0.6084, allocations: 0.7713 MB / 0.672 GB, free: 9.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6084, allocations: 3.938 kB / 0.672 GB, free: 9.676 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001909/0.6103, allocations: 487.5 kB / 0.6725 GB, free: 9.199 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01763/0.6279, allocations: 6.314 MB / 0.6787 GB, free: 2.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008769/0.6368, allocations: 2.894 MB / 0.6815 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.6368, allocations: 0 / 0.6815 GB, free: 15.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005286/0.6421, allocations: 1.834 MB / 0.6833 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/0.644, allocations: 118.1 kB / 0.6834 GB, free: 13.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05048/0.6945, allocations: 19.82 MB / 0.7027 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008748/0.6954, allocations: 1.136 MB / 0.7039 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006539/0.6961, allocations: 120.3 kB / 0.704 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008288/0.6969, allocations: 487.3 kB / 0.7044 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.6969, allocations: 0 / 0.7044 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9825/1.679, allocations: 32.37 MB / 0.736 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/1.68, allocations: 255 kB / 0.7363 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.813/4.493, allocations: 0 / 0.7363 GB, free: 7.492 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)