Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009275/0.009275, allocations: 169.1 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 239 MB, free: 52 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 100.2 kB / 290.2 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4865/0.4865, allocations: 78.58 MB / 419.9 MB, free: 36.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003864, allocations: 12 kB / 499.8 MB, free: 7.145 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 69.36 MB / 0.5559 GB, free: 1.723 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005541/0.1367, allocations: 5.799 MB / 0.5615 GB, free: 11.9 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004282/0.141, allocations: 1.979 MB / 0.5635 GB, free: 9.914 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000817/0.1419, allocations: 8 kB / 0.5635 GB, free: 9.906 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006559/0.1426, allocations: 178.7 kB / 0.5636 GB, free: 9.73 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.1446, allocations: 0.7257 MB / 0.5643 GB, free: 9.008 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.1458, allocations: 0.5219 MB / 0.5649 GB, free: 8.488 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.1474, allocations: 1.03 MB / 0.5659 GB, free: 7.457 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.1478, allocations: 269.8 kB / 0.5661 GB, free: 7.18 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007125/0.1485, allocations: 0.5719 MB / 0.5667 GB, free: 6.605 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009873/0.1495, allocations: 0.7392 MB / 0.5674 GB, free: 5.863 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.1497, allocations: 64 kB / 0.5675 GB, free: 5.801 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.1502, allocations: 179.8 kB / 0.5676 GB, free: 5.625 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.1504, allocations: 255 kB / 0.5679 GB, free: 5.375 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.1507, allocations: 233 kB / 0.5681 GB, free: 5.141 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.1519, allocations: 1.224 MB / 0.5693 GB, free: 3.914 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1519, allocations: 0 / 0.5693 GB, free: 3.914 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1519, allocations: 0 / 0.5693 GB, free: 3.914 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.1519, allocations: 0 / 0.5693 GB, free: 3.914 MB / 442.7 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.008557/0.1605, allocations: 2.58 MB / 0.5718 GB, free: 1.266 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1606, allocations: 8.031 kB / 0.5718 GB, free: 1.258 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003295/0.1609, allocations: 130.7 kB / 0.5719 GB, free: 1.121 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/0.1657, allocations: 0.7788 MB / 0.5727 GB, free: 348 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2255/0.3912, allocations: 0.8639 MB / 0.5735 GB, free: 43.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003105/0.3916, allocations: 270.3 kB / 0.5738 GB, free: 43.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.3918, allocations: 81.34 kB / 0.5739 GB, free: 43.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.3939, allocations: 1.152 MB / 0.575 GB, free: 43.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3939, allocations: 1.109 kB / 0.575 GB, free: 43.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/0.394, allocations: 29.44 kB / 0.575 GB, free: 43.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.394, allocations: 17.44 kB / 0.5751 GB, free: 43.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.396, allocations: 1.061 MB / 0.5761 GB, free: 43.47 MB / 442.7 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.006227/0.4022, allocations: 4.167 MB / 0.5802 GB, free: 42.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008185/0.4104, allocations: 2.92 MB / 0.583 GB, free: 41.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.4107, allocations: 24.23 kB / 0.583 GB, free: 41.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/0.4131, allocations: 0.8846 MB / 0.5839 GB, free: 41.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 4.218e-06/0.4131, allocations: 0 / 0.5839 GB, free: 41.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.03142/0.4445, allocations: 8.793 MB / 0.5925 GB, free: 40.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.4446, allocations: 116.7 kB / 0.5926 GB, free: 40.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.4463, allocations: 1.12 MB / 0.5937 GB, free: 40.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002301/0.4465, allocations: 44.08 kB / 0.5937 GB, free: 40.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.4469, allocations: 0.4941 MB / 0.5942 GB, free: 40.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.4472, allocations: 361.1 kB / 0.5946 GB, free: 40 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/0.4473, allocations: 34.56 kB / 0.5946 GB, free: 39.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.4474, allocations: 360.3 kB / 0.5949 GB, free: 39.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.4488, allocations: 0.8391 MB / 0.5958 GB, free: 39.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.4504, allocations: 1.007 MB / 0.5967 GB, free: 38.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.4519, allocations: 0.9642 MB / 0.5977 GB, free: 38.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4519, allocations: 7.594 kB / 0.5977 GB, free: 38.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01352/0.4655, allocations: 5.199 MB / 0.6028 GB, free: 37.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.046e-05/0.4655, allocations: 63.67 kB / 0.6028 GB, free: 37.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.4656, allocations: 6.953 kB / 0.6028 GB, free: 37.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006159/0.4717, allocations: 1.924 MB / 0.6047 GB, free: 36.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.4735, allocations: 310.5 kB / 0.605 GB, free: 36.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/0.4949, allocations: 9.417 MB / 0.6142 GB, free: 32.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.4972, allocations: 240.6 kB / 0.6144 GB, free: 32.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.4974, allocations: 64.47 kB / 0.6145 GB, free: 32.71 MB / 442.7 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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 2 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006469/0.4981, allocations: 297.1 kB / 0.6148 GB, free: 32.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.4983, allocations: 128.2 kB / 0.6149 GB, free: 32.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/0.5131, allocations: 4.751 MB / 0.6195 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.5132, allocations: 13.78 kB / 0.6196 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/0.5132, allocations: 6.406 kB / 0.6196 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.623e-05/0.5132, allocations: 6.562 kB / 0.6196 GB, free: 31.34 MB / 442.7 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.01763/0.5309, allocations: 6.4 MB / 0.6258 GB, free: 29.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.5309, allocations: 0 / 0.6258 GB, free: 29.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/0.5317, allocations: 107.9 kB / 0.6259 GB, free: 29.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00586/0.5376, allocations: 1.87 MB / 0.6277 GB, free: 28.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/0.5378, allocations: 20.75 kB / 0.6278 GB, free: 28.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01822/0.556, allocations: 10.15 MB / 0.6377 GB, free: 19.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5561, allocations: 0 / 0.6377 GB, free: 19.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/0.5705, allocations: 5.69 MB / 0.6432 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/0.571, allocations: 235.2 kB / 0.6435 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/0.5712, allocations: 23.94 kB / 0.6435 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.5725, allocations: 143.9 kB / 0.6436 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005377/0.573, allocations: 198 kB / 0.6438 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/0.5731, allocations: 28.61 kB / 0.6438 GB, free: 13.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009761/0.5741, allocations: 0.7475 MB / 0.6446 GB, free: 12.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5741, allocations: 0 / 0.6446 GB, free: 12.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001447/0.5755, allocations: 487.5 kB / 0.645 GB, free: 12.18 MB / 442.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01417/0.5897, allocations: 6.341 MB / 0.6512 GB, free: 5.797 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00627/0.596, allocations: 2.838 MB / 0.654 GB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5961, allocations: 0 / 0.654 GB, free: 2.941 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004007/0.6001, allocations: 1.806 MB / 0.6558 GB, free: 1.098 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008439/0.6009, allocations: 98.09 kB / 0.6558 GB, free: 1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.6062, allocations: 5.154 MB / 0.6609 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005943/0.6069, allocations: 1.155 MB / 0.662 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000449/0.6073, allocations: 116.8 kB / 0.6621 GB, free: 10.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/0.6079, allocations: 475.3 kB / 0.6626 GB, free: 10.03 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.6079, allocations: 4 kB / 0.6626 GB, free: 10.02 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05253/0.6605, allocations: 31.73 MB / 0.6936 GB, free: 10.67 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/0.6607, allocations: 233.4 kB / 0.6938 GB, free: 10.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/3.681, allocations: 4 kB / 0.6938 GB, free: 10.42 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)