Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.00116/0.00116, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.341/1.341, allocations: 222.9 MB / 238.9 MB, free: 4.652 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.001778/0.001778, allocations: 188.5 kB / 289.1 MB, free: 2.395 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5524/0.5524, allocations: 91.9 MB / 431.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 83.86 kB / 0.5013 GB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3579, allocations: 71.25 MB / 0.5709 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005461/0.3634, allocations: 6.971 MB / 0.5777 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003717/0.3672, allocations: 2.038 MB / 0.5797 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007093/0.3679, allocations: 16.12 kB / 0.5797 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006242/0.3686, allocations: 182 kB / 0.5799 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.3702, allocations: 0.7339 MB / 0.5806 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3712, allocations: 0.594 MB / 0.5812 GB, free: 30.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.3725, allocations: 1.548 MB / 0.5827 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.3729, allocations: 291.6 kB / 0.583 GB, free: 29.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006401/0.3735, allocations: 0.6114 MB / 0.5836 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006237/0.3741, allocations: 0.8067 MB / 0.5844 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.3743, allocations: 74.31 kB / 0.5844 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.3747, allocations: 208.6 kB / 0.5846 GB, free: 28.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.375, allocations: 285.9 kB / 0.5849 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000427/0.3754, allocations: 0.6404 MB / 0.5855 GB, free: 28.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.3766, allocations: 1.64 MB / 0.5871 GB, free: 27.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3766, allocations: 0 / 0.5871 GB, free: 27.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.3766, allocations: 0 / 0.5871 GB, free: 27.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.3766, allocations: 1.125 kB / 0.5871 GB, free: 27.34 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008808/0.3855, allocations: 2.753 MB / 0.5898 GB, free: 26.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.3855, allocations: 9.875 kB / 0.5898 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.3857, allocations: 129.5 kB / 0.59 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/0.3909, allocations: 0.7796 MB / 0.5907 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001569/0.3925, allocations: 0.906 MB / 0.5916 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.3927, allocations: 260.9 kB / 0.5919 GB, free: 24.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.3929, allocations: 92.25 kB / 0.5919 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.395, allocations: 1.099 MB / 0.593 GB, free: 24.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.395, allocations: 4 kB / 0.593 GB, free: 24.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.138e-05/0.3951, allocations: 31.28 kB / 0.5931 GB, free: 24.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.3951, allocations: 17.44 kB / 0.5931 GB, free: 24.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.3972, allocations: 1 MB / 0.594 GB, free: 24.15 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.006707/0.4039, allocations: 3.881 MB / 0.5978 GB, free: 21.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00748/0.4114, allocations: 2.386 MB / 0.6002 GB, free: 21.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.4129, allocations: 0.6938 MB / 0.6008 GB, free: 20.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.413, allocations: 20.55 kB / 0.6009 GB, free: 20.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001715/0.4147, allocations: 0.8248 MB / 0.6017 GB, free: 20.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.006e-06/0.4148, allocations: 0 / 0.6017 GB, free: 20.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.03048/0.4452, allocations: 7.223 MB / 0.6087 GB, free: 19.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.4453, allocations: 118.2 kB / 0.6088 GB, free: 18.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.4471, allocations: 1.125 MB / 0.6099 GB, free: 18.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.4473, allocations: 47.08 kB / 0.61 GB, free: 18.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.4477, allocations: 0.495 MB / 0.6105 GB, free: 18.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.448, allocations: 358.1 kB / 0.6108 GB, free: 17.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005308/0.4485, allocations: 293.1 kB / 0.6111 GB, free: 17.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.4486, allocations: 305.7 kB / 0.6114 GB, free: 17.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.4502, allocations: 0.7816 MB / 0.6121 GB, free: 17.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.452, allocations: 0.9522 MB / 0.6131 GB, free: 16.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02345/0.4754, allocations: 5.798 MB / 0.6187 GB, free: 13.25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.4755, allocations: 0 / 0.6187 GB, free: 13.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01216/0.4876, allocations: 4.457 MB / 0.6231 GB, free: 8.758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.4877, allocations: 63.39 kB / 0.6231 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4877, allocations: 0 / 0.6231 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005335/0.4931, allocations: 1.631 MB / 0.6247 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.4945, allocations: 295.6 kB / 0.625 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/0.5113, allocations: 7.939 MB / 0.6328 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.5135, allocations: 202.7 kB / 0.633 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.5136, allocations: 55.97 kB / 0.633 GB, free: 14.41 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (167): * Single equations (assignments): 164 * 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.0006252/0.5143, allocations: 304.4 kB / 0.6333 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.5145, allocations: 134.4 kB / 0.6334 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/0.5269, allocations: 3.889 MB / 0.6372 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.5269, allocations: 16 kB / 0.6372 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.5269, allocations: 11.88 kB / 0.6373 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/0.527, allocations: 7.984 kB / 0.6373 GB, free: 10.02 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.01459/0.5416, allocations: 5.524 MB / 0.6427 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.5416, allocations: 0 / 0.6427 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.5423, allocations: 99.89 kB / 0.6428 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005438/0.5477, allocations: 1.595 MB / 0.6443 GB, free: 2.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.5479, allocations: 27.92 kB / 0.6443 GB, free: 2.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01857/0.5665, allocations: 8.807 MB / 0.6529 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5665, allocations: 0 / 0.6529 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/0.5805, allocations: 4.772 MB / 0.6576 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/0.5811, allocations: 231.2 kB / 0.6578 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000336/0.5815, allocations: 24 kB / 0.6578 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.5829, allocations: 107.9 kB / 0.6579 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006392/0.5835, allocations: 192.6 kB / 0.6581 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.5836, allocations: 28 kB / 0.6582 GB, free: 4.172 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.585, allocations: 0.7592 MB / 0.6589 GB, free: 3.406 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.585, allocations: 0 / 0.6589 GB, free: 3.406 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00165/0.5866, allocations: 483.5 kB / 0.6594 GB, free: 2.934 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,14,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0144/0.6011, allocations: 5.371 MB / 0.6646 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006509/0.6076, allocations: 2.586 MB / 0.6671 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.6076, allocations: 8.062 kB / 0.6671 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003959/0.6116, allocations: 1.594 MB / 0.6687 GB, free: 9.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.6128, allocations: 120.8 kB / 0.6688 GB, free: 9.137 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03973/0.6526, allocations: 17.68 MB / 0.6861 GB, free: 7.008 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/0.6534, allocations: 1.132 MB / 0.6872 GB, free: 5.848 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006325/0.654, allocations: 120.1 kB / 0.6873 GB, free: 5.727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/0.6547, allocations: 471.2 kB / 0.6877 GB, free: 5.266 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6548, allocations: 0 / 0.6877 GB, free: 5.266 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3251/0.9798, allocations: 32.54 MB / 0.7195 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.98, allocations: 245.6 kB / 0.7198 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.208/4.188, allocations: 0 / 0.7198 GB, free: 4.668 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)