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.001489/0.001488, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.43/1.43, allocations: 223.2 MB / 238.9 MB, free: 5.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.001082/0.001082, allocations: 180.1 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5172/0.5172, allocations: 78.53 MB / 419.8 MB, free: 4.379 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004225, allocations: 16 kB / 499.7 MB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 69.36 MB / 0.5558 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2718/0.4287, allocations: 4.247 MB / 0.5599 GB, free: 37.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.4314, allocations: 1.564 MB / 0.5614 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.4318, allocations: 8.062 kB / 0.5614 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.4322, allocations: 121.2 kB / 0.5616 GB, free: 37.22 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.001501/0.4337, allocations: 0.5565 MB / 0.5621 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.4345, allocations: 328 kB / 0.5624 GB, free: 37.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.4358, allocations: 0.6728 MB / 0.5631 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.4362, allocations: 174 kB / 0.5632 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005335/0.4367, allocations: 375.2 kB / 0.5636 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006009/0.4373, allocations: 483.5 kB / 0.5641 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.479e-05/0.4374, allocations: 43.22 kB / 0.5641 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.4378, allocations: 153.2 kB / 0.5642 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.438, allocations: 170.2 kB / 0.5644 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.4382, allocations: 167.4 kB / 0.5646 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009559/0.4391, allocations: 0.9232 MB / 0.5655 GB, free: 36.74 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4392, allocations: 3.719 kB / 0.5655 GB, free: 36.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4392, allocations: 0 / 0.5655 GB, free: 36.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.4392, allocations: 0.5938 kB / 0.5655 GB, free: 36.74 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.00481/0.444, allocations: 1.634 MB / 0.5671 GB, free: 36.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4441, allocations: 8.625 kB / 0.5671 GB, free: 36.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.4442, allocations: 91.81 kB / 0.5672 GB, free: 36.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.4473, allocations: 0.5172 MB / 0.5677 GB, free: 35.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008601/0.4482, allocations: 0.6192 MB / 0.5683 GB, free: 35.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.4483, allocations: 148.2 kB / 0.5684 GB, free: 35.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.4485, allocations: 49.81 kB / 0.5685 GB, free: 35.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.4498, allocations: 0.6965 MB / 0.5691 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4498, allocations: 0 / 0.5691 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.4498, allocations: 19.28 kB / 0.5692 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.4499, allocations: 12.25 kB / 0.5692 GB, free: 35.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.4511, allocations: 0.6603 MB / 0.5698 GB, free: 35.54 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.003962/0.4551, allocations: 2.787 MB / 0.5725 GB, free: 34.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.4675, allocations: 3.766 MB / 0.5762 GB, free: 34.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.4677, allocations: 10.2 kB / 0.5762 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.4677, allocations: 41.84 kB / 0.5763 GB, free: 34.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.707e-06/0.4677, allocations: 0.6094 kB / 0.5763 GB, free: 34.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01273/0.4805, allocations: 4.215 MB / 0.5804 GB, free: 33.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.4805, allocations: 57.53 kB / 0.5804 GB, free: 32.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4817, allocations: 0.7547 MB / 0.5812 GB, free: 32.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.775e-05/0.4818, allocations: 35.83 kB / 0.5812 GB, free: 32.61 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.4821, allocations: 353.8 kB / 0.5815 GB, free: 32.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.4823, allocations: 216.3 kB / 0.5818 GB, free: 32.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.4823, allocations: 15.38 kB / 0.5818 GB, free: 32.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4824, allocations: 393.8 kB / 0.5821 GB, free: 31.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.4835, allocations: 0.5291 MB / 0.5827 GB, free: 31.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.4845, allocations: 0.6272 MB / 0.5833 GB, free: 31.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4857, allocations: 0.5801 MB / 0.5838 GB, free: 31.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4857, allocations: 1.531 kB / 0.5838 GB, free: 31.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007594/0.4933, allocations: 2.727 MB / 0.5865 GB, free: 30.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.4933, allocations: 6.531 kB / 0.5865 GB, free: 30.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.4933, allocations: 1.438 kB / 0.5865 GB, free: 30.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004658/0.498, allocations: 1.219 MB / 0.5877 GB, free: 30.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009005/0.4989, allocations: 151.7 kB / 0.5878 GB, free: 30.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.5103, allocations: 6.543 MB / 0.5942 GB, free: 26.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.5117, allocations: 129.7 kB / 0.5944 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.618e-05/0.5118, allocations: 32.77 kB / 0.5944 GB, free: 25.95 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.e2d:VARIABLE(start = G1.machine.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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 (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {7 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003877/0.5122, allocations: 216.6 kB / 0.5946 GB, free: 25.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.5123, allocations: 81.56 kB / 0.5947 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006547/0.5189, allocations: 2.292 MB / 0.5969 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.5189, allocations: 6.375 kB / 0.5969 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.5189, allocations: 5.312 kB / 0.5969 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.5189, allocations: 6.484 kB / 0.5969 GB, free: 25.11 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.007897/0.5268, allocations: 3.385 MB / 0.6002 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5269, allocations: 0 / 0.6002 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004482/0.5273, allocations: 69.81 kB / 0.6003 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003639/0.531, allocations: 1.074 MB / 0.6014 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.102e-05/0.5311, allocations: 16.12 kB / 0.6014 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00861/0.5397, allocations: 4.311 MB / 0.6056 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.5397, allocations: 1.625 kB / 0.6056 GB, free: 21.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007827/0.5476, allocations: 2.896 MB / 0.6084 GB, free: 20.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004376/0.548, allocations: 188.4 kB / 0.6086 GB, free: 20.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.5482, allocations: 11.56 kB / 0.6086 GB, free: 20.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007912/0.549, allocations: 72.77 kB / 0.6087 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004264/0.5494, allocations: 120.5 kB / 0.6088 GB, free: 20.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.5494, allocations: 16.52 kB / 0.6088 GB, free: 20.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000787/0.5502, allocations: 0.5102 MB / 0.6093 GB, free: 19.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5503, allocations: 0 / 0.6093 GB, free: 19.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001086/0.5513, allocations: 296.7 kB / 0.6096 GB, free: 19.85 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007626/0.559, allocations: 3.467 MB / 0.613 GB, free: 17.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004378/0.5634, allocations: 2.004 MB / 0.6149 GB, free: 16.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.5634, allocations: 3.938 kB / 0.6149 GB, free: 16.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002684/0.5661, allocations: 1.2 MB / 0.6161 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/0.5667, allocations: 48.33 kB / 0.6161 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/0.5699, allocations: 3.281 MB / 0.6193 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.5703, allocations: 0.9616 MB / 0.6203 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002746/0.5706, allocations: 70.5 kB / 0.6204 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.571, allocations: 289.3 kB / 0.6206 GB, free: 10.6 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.571, allocations: 0 / 0.6206 GB, free: 10.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/0.6062, allocations: 19.8 MB / 0.64 GB, free: 7.195 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.6064, allocations: 192.8 kB / 0.6401 GB, free: 6.953 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.794, allocations: 0 / 0.6401 GB, free: 6.953 MB / 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/linux/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) Environment - environmentSimulation: