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.001486/0.001486, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 239.2 MB, free: 4.586 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.001569/0.001569, allocations: 192.5 kB / 289.6 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5293/0.5293, allocations: 91.9 MB / 431.6 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 75.88 kB / 0.502 GB, free: 7.598 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3928, allocations: 71.26 MB / 0.5716 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004986/0.3978, allocations: 4.911 MB / 0.5764 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.4014, allocations: 1.605 MB / 0.5779 GB, free: 33.08 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.4019, allocations: 8.25 kB / 0.5779 GB, free: 33.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004836/0.4024, allocations: 156.1 kB / 0.5781 GB, free: 33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.404, allocations: 0.6392 MB / 0.5787 GB, free: 32.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008723/0.4049, allocations: 429.5 kB / 0.5791 GB, free: 32.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.406, allocations: 1.076 MB / 0.5802 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/0.4064, allocations: 215.7 kB / 0.5804 GB, free: 31.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005409/0.407, allocations: 445.4 kB / 0.5808 GB, free: 31.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006497/0.4077, allocations: 0.5618 MB / 0.5814 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.4078, allocations: 97.59 kB / 0.5814 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.4083, allocations: 239.6 kB / 0.5817 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.4085, allocations: 227.6 kB / 0.5819 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003828/0.4089, allocations: 481 kB / 0.5824 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.41, allocations: 1.239 MB / 0.5836 GB, free: 30.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.4101, allocations: 2.906 kB / 0.5836 GB, free: 30.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4101, allocations: 0 / 0.5836 GB, free: 30.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.4101, allocations: 0 / 0.5836 GB, free: 30.16 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.005279/0.4154, allocations: 1.754 MB / 0.5853 GB, free: 29.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.4154, allocations: 10.09 kB / 0.5853 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.4155, allocations: 91.53 kB / 0.5854 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/0.4188, allocations: 0.5232 MB / 0.5859 GB, free: 29.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/0.4198, allocations: 0.6526 MB / 0.5865 GB, free: 28.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.4199, allocations: 141 kB / 0.5867 GB, free: 28.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.4201, allocations: 54.5 kB / 0.5867 GB, free: 28.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.4214, allocations: 0.6575 MB / 0.5874 GB, free: 28.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4214, allocations: 1.25 kB / 0.5874 GB, free: 28.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.585e-05/0.4215, allocations: 19.72 kB / 0.5874 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.4215, allocations: 15 kB / 0.5874 GB, free: 28.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.4228, allocations: 0.6291 MB / 0.588 GB, free: 27.96 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.004255/0.4271, allocations: 2.638 MB / 0.5906 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.4395, allocations: 2.826 MB / 0.5933 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.4407, allocations: 440.2 kB / 0.5938 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-05/0.4407, allocations: 14.31 kB / 0.5938 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.4408, allocations: 38.5 kB / 0.5938 GB, free: 25.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.427e-06/0.4408, allocations: 0 / 0.5938 GB, free: 25.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01349/0.4543, allocations: 3.529 MB / 0.5973 GB, free: 24.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.4544, allocations: 59.36 kB / 0.5973 GB, free: 24.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.4557, allocations: 0.7694 MB / 0.5981 GB, free: 24.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.4558, allocations: 36.2 kB / 0.5981 GB, free: 24.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.4561, allocations: 355.7 kB / 0.5984 GB, free: 23.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.4563, allocations: 211.5 kB / 0.5986 GB, free: 23.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.4567, allocations: 170.7 kB / 0.5988 GB, free: 23.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4568, allocations: 396.2 kB / 0.5992 GB, free: 23.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.4579, allocations: 0.4932 MB / 0.5997 GB, free: 23.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.459, allocations: 0.5993 MB / 0.6002 GB, free: 22.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01628/0.4753, allocations: 3.558 MB / 0.6037 GB, free: 21.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.4754, allocations: 1.406 kB / 0.6037 GB, free: 21.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007912/0.4833, allocations: 2.397 MB / 0.6061 GB, free: 21.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.4834, allocations: 8.578 kB / 0.6061 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.4834, allocations: 0.9375 kB / 0.6061 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004616/0.488, allocations: 1.039 MB / 0.6071 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/0.489, allocations: 159.7 kB / 0.6072 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.5004, allocations: 5.066 MB / 0.6122 GB, free: 18.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.502, allocations: 117.6 kB / 0.6123 GB, free: 17.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.5021, allocations: 31.89 kB / 0.6123 GB, free: 17.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.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.0005339/0.5026, allocations: 204 kB / 0.6125 GB, free: 17.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.5028, allocations: 85.69 kB / 0.6126 GB, free: 17.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006383/0.5092, allocations: 1.947 MB / 0.6145 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.5093, allocations: 5.344 kB / 0.6145 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.5093, allocations: 8.156 kB / 0.6145 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.5093, allocations: 3.984 kB / 0.6145 GB, free: 16.95 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.007461/0.5168, allocations: 3.044 MB / 0.6175 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.5168, allocations: 4 kB / 0.6175 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.5172, allocations: 63.89 kB / 0.6176 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/0.5202, allocations: 0.9406 MB / 0.6185 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-05/0.5203, allocations: 12 kB / 0.6185 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007198/0.5275, allocations: 4.12 MB / 0.6225 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5275, allocations: 3.938 kB / 0.6225 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006353/0.5339, allocations: 2.514 MB / 0.625 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.5342, allocations: 176 kB / 0.6251 GB, free: 6.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.5344, allocations: 8 kB / 0.6251 GB, free: 6.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000724/0.5351, allocations: 51.94 kB / 0.6252 GB, free: 6.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/0.5354, allocations: 124.4 kB / 0.6253 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.5355, allocations: 16 kB / 0.6253 GB, free: 6.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005661/0.5361, allocations: 0.5186 MB / 0.6258 GB, free: 6.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5361, allocations: 0 / 0.6258 GB, free: 6.219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009476/0.537, allocations: 295.7 kB / 0.6261 GB, free: 5.93 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.006488/0.5435, allocations: 3.083 MB / 0.6291 GB, free: 2.805 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004313/0.5479, allocations: 1.757 MB / 0.6308 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5479, allocations: 0 / 0.6308 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002559/0.5504, allocations: 1.08 MB / 0.6319 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007512/0.5512, allocations: 58.94 kB / 0.632 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02349/0.5747, allocations: 10.2 MB / 0.6419 GB, free: 5.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.5754, allocations: 0.946 MB / 0.6428 GB, free: 4.371 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004226/0.5758, allocations: 65.14 kB / 0.6429 GB, free: 4.305 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/0.5763, allocations: 291.3 kB / 0.6432 GB, free: 4.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5763, allocations: 0 / 0.6432 GB, free: 4.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05165/0.6279, allocations: 21.28 MB / 0.664 GB, free: 14.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.18, allocations: 18.55 kB / 0.664 GB, free: 14.84 MB / 478.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)