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.001863/0.001863, 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.629/1.629, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.00221/0.00221, allocations: 187.6 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6351/0.6351, allocations: 91.9 MB / 431.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001935, allocations: 79.88 kB / 0.502 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5982/0.6002, allocations: 71.26 MB / 0.5716 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006837/0.6071, allocations: 4.91 MB / 0.5764 GB, free: 34.06 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004147/0.6113, allocations: 1.609 MB / 0.5779 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005064/0.6119, allocations: 5.531 kB / 0.5779 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.6124, allocations: 160.8 kB / 0.5781 GB, free: 33.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.6141, allocations: 0.6407 MB / 0.5787 GB, free: 32.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000929/0.6151, allocations: 420.6 kB / 0.5791 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.6162, allocations: 1.075 MB / 0.5802 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004058/0.6166, allocations: 220.1 kB / 0.5804 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006498/0.6172, allocations: 451.2 kB / 0.5808 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007068/0.618, allocations: 0.5532 MB / 0.5814 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.6181, allocations: 100.7 kB / 0.5814 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005535/0.6187, allocations: 236.1 kB / 0.5817 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.6189, allocations: 231.2 kB / 0.5819 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004043/0.6194, allocations: 474.4 kB / 0.5823 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.6206, allocations: 1.253 MB / 0.5836 GB, free: 30.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6206, allocations: 4.906 kB / 0.5836 GB, free: 30.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6206, allocations: 0 / 0.5836 GB, free: 30.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.6207, allocations: 0 / 0.5836 GB, free: 30.18 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.005636/0.6263, allocations: 1.745 MB / 0.5853 GB, free: 29.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.035e-05/0.6264, allocations: 6.844 kB / 0.5853 GB, free: 29.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.6265, allocations: 93.19 kB / 0.5854 GB, free: 29.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/0.6301, allocations: 0.5211 MB / 0.5859 GB, free: 29.11 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.6314, allocations: 0.6518 MB / 0.5865 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000276/0.6317, allocations: 145.9 kB / 0.5867 GB, free: 28.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.6319, allocations: 49.41 kB / 0.5867 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.6335, allocations: 0.6582 MB / 0.5873 GB, free: 28.24 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.6335, allocations: 4 kB / 0.5874 GB, free: 28.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.295e-05/0.6336, allocations: 19.47 kB / 0.5874 GB, free: 28.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.6336, allocations: 16.31 kB / 0.5874 GB, free: 28.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.6351, allocations: 0.6243 MB / 0.588 GB, free: 27.99 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.005107/0.6403, allocations: 2.632 MB / 0.5906 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/0.6535, allocations: 2.821 MB / 0.5933 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.6548, allocations: 450.5 kB / 0.5938 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.69e-05/0.6549, allocations: 11.3 kB / 0.5938 GB, free: 25.74 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.655, allocations: 42.03 kB / 0.5938 GB, free: 25.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 3.597e-06/0.655, allocations: 4 kB / 0.5938 GB, free: 25.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01503/0.67, allocations: 3.527 MB / 0.5972 GB, free: 24.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.6701, allocations: 58.02 kB / 0.5973 GB, free: 24.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.672, allocations: 0.7712 MB / 0.5981 GB, free: 24.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.6722, allocations: 35.11 kB / 0.5981 GB, free: 24.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.6726, allocations: 355.6 kB / 0.5984 GB, free: 23.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/0.673, allocations: 211.5 kB / 0.5986 GB, free: 23.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.6734, allocations: 174.9 kB / 0.5988 GB, free: 23.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.6736, allocations: 392.4 kB / 0.5992 GB, free: 23.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.6749, allocations: 0.4922 MB / 0.5997 GB, free: 23.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.6764, allocations: 0.5962 MB / 0.6002 GB, free: 22.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01842/0.6949, allocations: 3.563 MB / 0.6037 GB, free: 21.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/0.695, allocations: 1.094 kB / 0.6037 GB, free: 21.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.009017/0.704, allocations: 2.392 MB / 0.6061 GB, free: 21.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.7041, allocations: 6 kB / 0.6061 GB, free: 21.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.7041, allocations: 1.25 kB / 0.6061 GB, free: 21.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004924/0.709, allocations: 1.049 MB / 0.6071 GB, free: 20.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.7101, allocations: 146.9 kB / 0.6072 GB, free: 20.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.7228, allocations: 5.074 MB / 0.6122 GB, free: 18.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.7246, allocations: 109.8 kB / 0.6123 GB, free: 17.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/0.7249, allocations: 31.97 kB / 0.6123 GB, free: 17.98 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.0009245/0.7258, allocations: 224.5 kB / 0.6125 GB, free: 17.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/0.7262, allocations: 85.38 kB / 0.6126 GB, free: 17.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007116/0.7334, allocations: 1.937 MB / 0.6145 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.7334, allocations: 9.047 kB / 0.6145 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.592e-05/0.7334, allocations: 3.938 kB / 0.6145 GB, free: 17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.7335, allocations: 5.469 kB / 0.6145 GB, free: 17 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.009122/0.7426, allocations: 3.044 MB / 0.6175 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.7427, allocations: 0 / 0.6175 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.7432, allocations: 67.91 kB / 0.6176 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003393/0.7466, allocations: 0.9368 MB / 0.6185 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.7467, allocations: 12 kB / 0.6185 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008457/0.7552, allocations: 4.113 MB / 0.6225 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.7553, allocations: 3.938 kB / 0.6225 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007187/0.7625, allocations: 2.514 MB / 0.625 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/0.7631, allocations: 176.2 kB / 0.6251 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/0.7634, allocations: 15.98 kB / 0.6251 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.7645, allocations: 59.86 kB / 0.6252 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/0.765, allocations: 116.4 kB / 0.6253 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.727e-05/0.7651, allocations: 16 kB / 0.6253 GB, free: 6.754 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008893/0.766, allocations: 0.5225 MB / 0.6258 GB, free: 6.234 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.766, allocations: 0 / 0.6258 GB, free: 6.234 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001612/0.7676, allocations: 295.7 kB / 0.6261 GB, free: 5.945 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.007261/0.7749, allocations: 3.085 MB / 0.6291 GB, free: 2.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005041/0.7799, allocations: 1.754 MB / 0.6308 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.78, allocations: 448 / 0.6308 GB, free: 1.008 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002878/0.7829, allocations: 1.084 MB / 0.6319 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.7841, allocations: 57.47 kB / 0.632 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02854/0.8127, allocations: 10.2 MB / 0.6419 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009411/0.8137, allocations: 0.946 MB / 0.6428 GB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005164/0.8143, allocations: 69.12 kB / 0.6429 GB, free: 4.324 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006382/0.8149, allocations: 291.3 kB / 0.6432 GB, free: 4.039 MB / 446.1 MB Notification: Performance of SimCode: time 2.034e-06/0.8149, allocations: 0 / 0.6432 GB, free: 4.039 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0702/0.8852, allocations: 21.27 MB / 0.664 GB, free: 14.88 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.3, allocations: 19.19 kB / 0.664 GB, free: 14.86 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)