Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_dev_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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.342/1.342, allocations: 222.9 MB / 238.9 MB, free: 4.773 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.001479/0.001479, allocations: 184.5 kB / 289.1 MB, free: 2.508 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5287/0.5287, allocations: 91.89 MB / 431.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 83.88 kB / 0.5013 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3548, allocations: 71.26 MB / 0.5709 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005859/0.3607, allocations: 5.19 MB / 0.576 GB, free: 33.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.3636, allocations: 1.646 MB / 0.5776 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003786/0.364, allocations: 5.625 kB / 0.5776 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000393/0.3644, allocations: 125.4 kB / 0.5777 GB, free: 32.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.3657, allocations: 0.5815 MB / 0.5783 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006837/0.3664, allocations: 390.6 kB / 0.5786 GB, free: 32.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007527/0.3672, allocations: 1.019 MB / 0.5796 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.3675, allocations: 198.9 kB / 0.5798 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.3678, allocations: 394.6 kB / 0.5802 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.3683, allocations: 0.5164 MB / 0.5807 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-05/0.3684, allocations: 51.47 kB / 0.5808 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003485/0.3687, allocations: 191.4 kB / 0.5809 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.3689, allocations: 182.3 kB / 0.5811 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.3692, allocations: 430.7 kB / 0.5815 GB, free: 30.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007994/0.37, allocations: 1.207 MB / 0.5827 GB, free: 30.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.37, allocations: 0.9375 kB / 0.5827 GB, free: 30.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.37, allocations: 0 / 0.5827 GB, free: 30.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.37, allocations: 0 / 0.5827 GB, free: 30.09 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.00496/0.375, allocations: 1.757 MB / 0.5844 GB, free: 29.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3751, allocations: 11.62 kB / 0.5844 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.3752, allocations: 87.81 kB / 0.5845 GB, free: 29.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/0.3783, allocations: 0.5204 MB / 0.585 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008149/0.3792, allocations: 0.6529 MB / 0.5857 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/0.3793, allocations: 138.1 kB / 0.5858 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.3795, allocations: 54.12 kB / 0.5858 GB, free: 28.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.3807, allocations: 0.6554 MB / 0.5865 GB, free: 28.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3808, allocations: 0 / 0.5865 GB, free: 28.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.3808, allocations: 20.59 kB / 0.5865 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.3809, allocations: 19.28 kB / 0.5865 GB, free: 28.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.3821, allocations: 0.6293 MB / 0.5871 GB, free: 27.91 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.004057/0.3861, allocations: 2.64 MB / 0.5897 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.3978, allocations: 2.809 MB / 0.5925 GB, free: 25.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000957/0.3988, allocations: 450.7 kB / 0.5929 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.288e-05/0.3989, allocations: 6.781 kB / 0.5929 GB, free: 25.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.3989, allocations: 37.31 kB / 0.5929 GB, free: 25.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.236e-06/0.3989, allocations: 4 kB / 0.5929 GB, free: 25.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01248/0.4114, allocations: 3.527 MB / 0.5964 GB, free: 24.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.4115, allocations: 66.36 kB / 0.5964 GB, free: 24.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.4127, allocations: 0.765 MB / 0.5972 GB, free: 24.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.689e-05/0.4128, allocations: 36.02 kB / 0.5972 GB, free: 24.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.4131, allocations: 356 kB / 0.5976 GB, free: 23.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/0.4133, allocations: 211.6 kB / 0.5978 GB, free: 23.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/0.4136, allocations: 170.8 kB / 0.5979 GB, free: 23.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4138, allocations: 396.4 kB / 0.5983 GB, free: 23.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009891/0.4148, allocations: 0.4962 MB / 0.5988 GB, free: 23.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.4158, allocations: 0.5925 MB / 0.5994 GB, free: 22.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/0.4315, allocations: 3.559 MB / 0.6028 GB, free: 21.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.4316, allocations: 4.703 kB / 0.6029 GB, free: 21.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007186/0.4387, allocations: 2.388 MB / 0.6052 GB, free: 21.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.4388, allocations: 9.531 kB / 0.6052 GB, free: 21.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.4388, allocations: 6.156 kB / 0.6052 GB, free: 21.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004254/0.4431, allocations: 1.041 MB / 0.6062 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/0.444, allocations: 147.9 kB / 0.6064 GB, free: 20.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009758/0.4538, allocations: 4.694 MB / 0.6109 GB, free: 18.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.4551, allocations: 112 kB / 0.611 GB, free: 18.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.004e-05/0.4552, allocations: 36.94 kB / 0.6111 GB, free: 18.12 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.0004425/0.4557, allocations: 215.6 kB / 0.6113 GB, free: 17.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.4558, allocations: 77.59 kB / 0.6114 GB, free: 17.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006055/0.4619, allocations: 1.948 MB / 0.6133 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.4619, allocations: 7.094 kB / 0.6133 GB, free: 17.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.462, allocations: 6.781 kB / 0.6133 GB, free: 17.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.462, allocations: 4.312 kB / 0.6133 GB, free: 17.31 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.006891/0.4689, allocations: 3.041 MB / 0.6163 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.4689, allocations: 0 / 0.6163 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004564/0.4694, allocations: 60.62 kB / 0.6163 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003018/0.4724, allocations: 0.9307 MB / 0.6172 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/0.4725, allocations: 15.98 kB / 0.6172 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006418/0.4789, allocations: 3.782 MB / 0.6209 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4789, allocations: 8.172 kB / 0.6209 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/0.485, allocations: 2.514 MB / 0.6234 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.4854, allocations: 179.9 kB / 0.6236 GB, free: 8.129 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.4855, allocations: 12 kB / 0.6236 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007284/0.4862, allocations: 51.94 kB / 0.6236 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/0.4866, allocations: 120.3 kB / 0.6237 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.4866, allocations: 16 kB / 0.6238 GB, free: 7.934 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005614/0.4872, allocations: 0.5186 MB / 0.6243 GB, free: 7.418 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4872, allocations: 0 / 0.6243 GB, free: 7.418 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009436/0.4882, allocations: 299.7 kB / 0.6245 GB, free: 7.125 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.006239/0.4944, allocations: 3.083 MB / 0.6276 GB, free: 4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00394/0.4984, allocations: 1.742 MB / 0.6293 GB, free: 2.211 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4984, allocations: 448 / 0.6293 GB, free: 2.211 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.5007, allocations: 1.076 MB / 0.6303 GB, free: 1.074 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.5015, allocations: 59 kB / 0.6304 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02187/0.5234, allocations: 10.45 MB / 0.6406 GB, free: 6.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005/0.524, allocations: 0.9421 MB / 0.6415 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003856/0.5244, allocations: 77.11 kB / 0.6416 GB, free: 5.289 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.5248, allocations: 283.3 kB / 0.6418 GB, free: 5.012 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5248, allocations: 0 / 0.6418 GB, free: 5.012 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.576/4.101, allocations: 20.01 MB / 0.6614 GB, free: 1.145 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/4.101, allocations: 203.3 kB / 0.6616 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/6.291, allocations: 4 kB / 0.6616 GB, free: 0.8828 MB / 462.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)