Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_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.009851/0.009851, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.391/1.391, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.00163/0.00163, allocations: 196.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5184/0.5184, allocations: 91.9 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00292/0.00292, allocations: 81.83 kB / 0.5724 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1645, allocations: 71.28 MB / 0.642 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.01944/0.184, allocations: 21.98 MB / 0.6634 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.1971, allocations: 4.912 MB / 0.6682 GB, free: 8.977 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005672/0.2028, allocations: 44 kB / 0.6683 GB, free: 8.934 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003883/0.2067, allocations: 0.8828 MB / 0.6691 GB, free: 8.043 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.2172, allocations: 2.298 MB / 0.6714 GB, free: 5.734 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0064/0.2236, allocations: 2.079 MB / 0.6734 GB, free: 3.688 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.2339, allocations: 5.806 MB / 0.6791 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003424/0.2373, allocations: 1.32 MB / 0.6804 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004706/0.2421, allocations: 2.361 MB / 0.6827 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005002/0.2471, allocations: 2.975 MB / 0.6856 GB, free: 7.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002253/0.2494, allocations: 448 kB / 0.686 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003213/0.2526, allocations: 0.5975 MB / 0.6866 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002482/0.2552, allocations: 1.163 MB / 0.6877 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005637/0.2608, allocations: 2.637 MB / 0.6903 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.2712, allocations: 6.286 MB / 0.6964 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.2712, allocations: 8 kB / 0.6965 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2712, allocations: 3.938 kB / 0.6965 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003098/0.2715, allocations: 0 / 0.6965 GB, free: 11.95 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03314/0.3047, allocations: 9.24 MB / 0.7055 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.3048, allocations: 8.031 kB / 0.7055 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001771/0.3066, allocations: 488.9 kB / 0.706 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02629/0.3329, allocations: 4.016 MB / 0.7099 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007032/0.34, allocations: 2.694 MB / 0.7125 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001171/0.3412, allocations: 0.9651 MB / 0.7135 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001675/0.3429, allocations: 352 kB / 0.7138 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01483/0.3577, allocations: 4.747 MB / 0.7184 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/0.3579, allocations: 0 / 0.7184 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001338/0.3593, allocations: 140 kB / 0.7186 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.448e-05/0.3594, allocations: 84 kB / 0.7186 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.3713, allocations: 4.263 MB / 0.7228 GB, free: 0.6094 MB / 0.5137 GB 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.0427/0.414, allocations: 18.29 MB / 0.7407 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/0.4275, allocations: 5.033 MB / 0.7456 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006495/0.434, allocations: 2.794 MB / 0.7483 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008012/0.4349, allocations: 74.92 kB / 0.7484 GB, free: 5.133 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007968/0.4429, allocations: 3.197 MB / 0.7515 GB, free: 1.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=385): time 1.023e-05/0.4429, allocations: 4 kB / 0.7515 GB, free: 1.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=385): time 0.6555/1.098, allocations: 66.8 MB / 0.8167 GB, free: 83.58 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/1.099, allocations: 141.8 kB / 0.8169 GB, free: 83.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004942/1.104, allocations: 3.283 MB / 0.8201 GB, free: 81.01 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/1.105, allocations: 91.2 kB / 0.8202 GB, free: 80.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001202/1.106, allocations: 1.978 MB / 0.8221 GB, free: 79.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001966/1.108, allocations: 1.322 MB / 0.8234 GB, free: 78.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/1.109, allocations: 0.6862 MB / 0.8241 GB, free: 77.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.31e-05/1.109, allocations: 305.1 kB / 0.8244 GB, free: 77.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004976/1.114, allocations: 2.616 MB / 0.8269 GB, free: 74.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005686/1.12, allocations: 3.245 MB / 0.8301 GB, free: 71.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06645/1.187, allocations: 19.13 MB / 0.8488 GB, free: 51.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.389e-05/1.187, allocations: 4 kB / 0.8488 GB, free: 51.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.05356/1.24, allocations: 17.24 MB / 0.8656 GB, free: 34.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-05/1.24, allocations: 71.95 kB / 0.8657 GB, free: 34.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/1.241, allocations: 19.94 kB / 0.8657 GB, free: 34.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02356/1.264, allocations: 7.299 MB / 0.8728 GB, free: 27.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/1.268, allocations: 0.6787 MB / 0.8735 GB, free: 26.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08924/1.357, allocations: 33.85 MB / 0.9065 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006507/1.363, allocations: 0.6248 MB / 0.9071 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.365, allocations: 152 kB / 0.9073 GB, free: 7.773 MB / 0.5762 GB 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 order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.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: 65 * 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.003448/1.368, allocations: 0.6724 MB / 0.9079 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00213/1.37, allocations: 458.3 kB / 0.9084 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05874/1.429, allocations: 16.89 MB / 0.9249 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.326e-05/1.429, allocations: 36 kB / 0.9249 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001234/1.429, allocations: 28 kB / 0.9249 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001341/1.429, allocations: 23.92 kB / 0.925 GB, free: 5.586 MB / 0.5919 GB 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.07071/1.5, allocations: 21.9 MB / 0.9464 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.916e-05/1.5, allocations: 3.984 kB / 0.9464 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.503, allocations: 388.5 kB / 0.9467 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02663/1.529, allocations: 7.344 MB / 0.9539 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001343/1.531, allocations: 71.98 kB / 0.954 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09088/1.622, allocations: 31.84 MB / 0.9851 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.622, allocations: 7.938 kB / 0.9851 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06482/1.687, allocations: 20.28 MB / 1.005 GB, free: 3.273 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/1.688, allocations: 0.5609 MB / 1.005 GB, free: 2.688 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001838/1.69, allocations: 68 kB / 1.005 GB, free: 2.621 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005281/1.696, allocations: 375.6 kB / 1.006 GB, free: 2.254 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004131/1.7, allocations: 0.7883 MB / 1.007 GB, free: 1.465 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001082/1.701, allocations: 91.98 kB / 1.007 GB, free: 1.375 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004836/1.706, allocations: 2.145 MB / 1.009 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.21e-07/1.706, allocations: 0 / 1.009 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.008581/1.714, allocations: 1.814 MB / 1.011 GB, free: 13.41 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 (249): * Single equations (assignments): 246 * 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 {(98,38,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0672/1.782, allocations: 20.96 MB / 1.031 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.3815/2.163, allocations: 9.36 MB / 1.04 GB, free: 241.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/2.163, allocations: 0 / 1.04 GB, free: 241.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.02266/2.186, allocations: 6.196 MB / 1.046 GB, free: 241.1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004986/2.191, allocations: 387.4 kB / 1.047 GB, free: 241.1 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1582/2.349, allocations: 59.07 MB / 1.104 GB, free: 206.6 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/2.352, allocations: 2.459 MB / 1.107 GB, free: 204.1 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001911/2.354, allocations: 379.2 kB / 1.107 GB, free: 203.7 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/2.356, allocations: 1.991 MB / 1.109 GB, free: 201.7 MB / 0.7012 GB Notification: Performance of SimCode: time 1.021e-06/2.356, allocations: 4 kB / 1.109 GB, free: 201.7 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1965/2.553, allocations: 130.6 MB / 1.237 GB, free: 71.32 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.44/24.99, allocations: 7.766 kB / 1.237 GB, free: 71.32 MB / 0.7012 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)