Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",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.001081/0.00108, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.331/1.331, allocations: 222.9 MB / 239 MB, free: 4.734 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.001431/0.001431, allocations: 192.4 kB / 289.2 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4709/0.4709, allocations: 78.53 MB / 417.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001683, allocations: 71.89 kB / 497 MB, free: 6.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1631, allocations: 68.19 MB / 0.552 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2803/0.4435, allocations: 5.164 MB / 0.557 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003245/0.4468, allocations: 1.622 MB / 0.5586 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.4473, allocations: 7.438 kB / 0.5586 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.4478, allocations: 131.1 kB / 0.5587 GB, free: 36.29 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001391/0.4493, allocations: 0.5765 MB / 0.5593 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007516/0.45, allocations: 382.1 kB / 0.5597 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.4511, allocations: 1.079 MB / 0.5607 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.4514, allocations: 214 kB / 0.5609 GB, free: 36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.4519, allocations: 449.2 kB / 0.5613 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005439/0.4524, allocations: 0.5577 MB / 0.5619 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.4526, allocations: 100.8 kB / 0.562 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.4529, allocations: 233.5 kB / 0.5622 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.4531, allocations: 228.3 kB / 0.5624 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003183/0.4534, allocations: 481.4 kB / 0.5629 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009668/0.4544, allocations: 1.248 MB / 0.5641 GB, free: 35.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4544, allocations: 2.406 kB / 0.5641 GB, free: 35.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4544, allocations: 0 / 0.5641 GB, free: 35.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4544, allocations: 0 / 0.5641 GB, free: 35.36 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004775/0.4592, allocations: 1.746 MB / 0.5658 GB, free: 34.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4592, allocations: 11 kB / 0.5658 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.4594, allocations: 94.88 kB / 0.5659 GB, free: 34.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/0.4623, allocations: 0.5231 MB / 0.5664 GB, free: 34.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007084/0.4631, allocations: 0.6489 MB / 0.5671 GB, free: 34.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.4632, allocations: 142.5 kB / 0.5672 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.865e-05/0.4633, allocations: 50.78 kB / 0.5672 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.4645, allocations: 0.6614 MB / 0.5679 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4645, allocations: 7.297 kB / 0.5679 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/0.4646, allocations: 14.97 kB / 0.5679 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.4646, allocations: 14.75 kB / 0.5679 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.4657, allocations: 0.6276 MB / 0.5685 GB, free: 34.07 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.003731/0.4694, allocations: 2.628 MB / 0.5711 GB, free: 33.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.4807, allocations: 2.819 MB / 0.5739 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007391/0.4815, allocations: 450.9 kB / 0.5743 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.212e-05/0.4816, allocations: 13.53 kB / 0.5743 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.4816, allocations: 38.5 kB / 0.5743 GB, free: 33.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.204e-06/0.4816, allocations: 0 / 0.5743 GB, free: 33.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01125/0.4929, allocations: 3.532 MB / 0.5778 GB, free: 32.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.4929, allocations: 57.75 kB / 0.5778 GB, free: 32.44 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009747/0.4939, allocations: 0.7664 MB / 0.5786 GB, free: 32.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.494, allocations: 36.08 kB / 0.5786 GB, free: 32.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.4942, allocations: 351 kB / 0.579 GB, free: 31.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.4944, allocations: 215.2 kB / 0.5792 GB, free: 31.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/0.4947, allocations: 172 kB / 0.5793 GB, free: 31.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4948, allocations: 391.7 kB / 0.5797 GB, free: 31.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009924/0.4958, allocations: 0.4949 MB / 0.5802 GB, free: 30.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.4969, allocations: 0.5943 MB / 0.5808 GB, free: 30.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01486/0.5118, allocations: 3.568 MB / 0.5842 GB, free: 29.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5118, allocations: 1.062 kB / 0.5842 GB, free: 29.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006939/0.5187, allocations: 2.392 MB / 0.5866 GB, free: 28.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.5188, allocations: 5.375 kB / 0.5866 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5188, allocations: 2.219 kB / 0.5866 GB, free: 28.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003995/0.5228, allocations: 1.054 MB / 0.5876 GB, free: 28.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.5235, allocations: 151 kB / 0.5878 GB, free: 28.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.5336, allocations: 5.064 MB / 0.5927 GB, free: 25.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.5347, allocations: 114.9 kB / 0.5928 GB, free: 25.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-05/0.5348, allocations: 28.56 kB / 0.5928 GB, free: 25.84 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004188/0.5353, allocations: 212 kB / 0.593 GB, free: 25.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.5354, allocations: 88.44 kB / 0.5931 GB, free: 25.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/0.5414, allocations: 1.936 MB / 0.595 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5414, allocations: 5.703 kB / 0.595 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5414, allocations: 3.906 kB / 0.595 GB, free: 25.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.5414, allocations: 6.859 kB / 0.595 GB, free: 25.07 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 postOpt removeSimpleEquations (simulation): time 0.007093/0.5485, allocations: 3.042 MB / 0.598 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5485, allocations: 0 / 0.598 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.549, allocations: 64.19 kB / 0.5981 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003405/0.5524, allocations: 0.9423 MB / 0.599 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/0.5524, allocations: 11.95 kB / 0.599 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008333/0.5608, allocations: 4.108 MB / 0.603 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5608, allocations: 4.688 kB / 0.603 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007096/0.5679, allocations: 2.507 MB / 0.6055 GB, free: 20.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.5681, allocations: 182.2 kB / 0.6056 GB, free: 20.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.5683, allocations: 11.62 kB / 0.6057 GB, free: 20.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006781/0.5689, allocations: 56.72 kB / 0.6057 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/0.5693, allocations: 118.5 kB / 0.6058 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.5694, allocations: 14.7 kB / 0.6058 GB, free: 20.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006622/0.57, allocations: 0.5211 MB / 0.6063 GB, free: 19.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.57, allocations: 3.938 kB / 0.6063 GB, free: 19.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009671/0.571, allocations: 298.9 kB / 0.6066 GB, free: 19.83 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006645/0.5777, allocations: 3.083 MB / 0.6096 GB, free: 18.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004184/0.5819, allocations: 1.75 MB / 0.6114 GB, free: 17.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5819, allocations: 0 / 0.6114 GB, free: 17.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002503/0.5844, allocations: 1.087 MB / 0.6124 GB, free: 16.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005851/0.585, allocations: 66.8 kB / 0.6125 GB, free: 16.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.6035, allocations: 10.43 MB / 0.6227 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.6038, allocations: 0.9421 MB / 0.6236 GB, free: 5.168 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.6041, allocations: 67.3 kB / 0.6236 GB, free: 5.102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.6045, allocations: 288 kB / 0.6239 GB, free: 4.82 MB / 430.1 MB Notification: Performance of SimCode: time 1.543e-06/0.6045, allocations: 1.688 kB / 0.6239 GB, free: 4.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.08/1.685, allocations: 20.76 MB / 0.6442 GB, free: 432 kB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002551/1.685, allocations: 197.8 kB / 0.6444 GB, free: 168 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/4.115, allocations: 3.5 kB / 0.6444 GB, free: 168 kB / 446.1 MB (rm -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)