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.006729/0.006729, allocations: 101 kB / 15.73 MB, free: 6.445 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.35/1.35, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001452/0.001452, allocations: 184.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5093/0.5093, allocations: 91.91 MB / 431.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 78.84 kB / 0.5722 GB, free: 34.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.137, allocations: 71.29 MB / 0.6419 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005436/0.1424, allocations: 4.913 MB / 0.6466 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.1457, allocations: 1.595 MB / 0.6482 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006484/0.1463, allocations: 8 kB / 0.6482 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.1469, allocations: 162.7 kB / 0.6484 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.1489, allocations: 0.6745 MB / 0.649 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009528/0.1499, allocations: 432.3 kB / 0.6494 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.1513, allocations: 1.078 MB / 0.6505 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.1517, allocations: 221.9 kB / 0.6507 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000755/0.1525, allocations: 450.2 kB / 0.6511 GB, free: 10.65 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008286/0.1534, allocations: 0.5524 MB / 0.6517 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002731/0.1536, allocations: 100 kB / 0.6518 GB, free: 9.996 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005931/0.1542, allocations: 231.9 kB / 0.652 GB, free: 9.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.1545, allocations: 231 kB / 0.6522 GB, free: 9.543 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006644/0.1552, allocations: 473.4 kB / 0.6527 GB, free: 9.078 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.157, allocations: 1.269 MB / 0.6539 GB, free: 7.805 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.157, allocations: 0 / 0.6539 GB, free: 7.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.157, allocations: 0 / 0.6539 GB, free: 7.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.368e-05/0.157, allocations: 4 kB / 0.6539 GB, free: 7.801 MB / 462.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.00573/0.1628, allocations: 1.783 MB / 0.6556 GB, free: 5.965 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1628, allocations: 8.031 kB / 0.6557 GB, free: 5.957 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.163, allocations: 98.64 kB / 0.6557 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.1663, allocations: 0.5228 MB / 0.6563 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.1674, allocations: 0.6476 MB / 0.6569 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.1676, allocations: 142.1 kB / 0.657 GB, free: 4.484 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.1678, allocations: 52 kB / 0.6571 GB, free: 4.434 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.1691, allocations: 0.6584 MB / 0.6577 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1692, allocations: 0 / 0.6577 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/0.1692, allocations: 20 kB / 0.6577 GB, free: 3.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1693, allocations: 15.94 kB / 0.6578 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.1705, allocations: 0.6286 MB / 0.6584 GB, free: 3.102 MB / 462.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.004572/0.1751, allocations: 2.624 MB / 0.6609 GB, free: 376 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.1869, allocations: 2.816 MB / 0.6637 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.188, allocations: 450.3 kB / 0.6641 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.1881, allocations: 8.547 kB / 0.6641 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1882, allocations: 39.12 kB / 0.6642 GB, free: 13 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 2.745e-06/0.1882, allocations: 4 kB / 0.6642 GB, free: 12.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.01258/0.2008, allocations: 3.528 MB / 0.6676 GB, free: 9.398 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.2008, allocations: 63.97 kB / 0.6677 GB, free: 9.324 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.2021, allocations: 0.7661 MB / 0.6684 GB, free: 8.547 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.2022, allocations: 37.7 kB / 0.6684 GB, free: 8.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.2025, allocations: 365 kB / 0.6688 GB, free: 8.141 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.2027, allocations: 214.2 kB / 0.669 GB, free: 7.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.2031, allocations: 170.6 kB / 0.6692 GB, free: 7.758 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2033, allocations: 394.7 kB / 0.6695 GB, free: 7.363 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.2043, allocations: 0.49 MB / 0.67 GB, free: 6.871 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.2054, allocations: 0.6031 MB / 0.6706 GB, free: 6.246 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01522/0.2206, allocations: 3.556 MB / 0.6741 GB, free: 2.664 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.2207, allocations: 0 / 0.6741 GB, free: 2.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007528/0.2282, allocations: 2.404 MB / 0.6764 GB, free: 248 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.2283, allocations: 4.938 kB / 0.6764 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.2283, allocations: 8 kB / 0.6764 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004254/0.2326, allocations: 1.048 MB / 0.6775 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008255/0.2334, allocations: 151.7 kB / 0.6776 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.2446, allocations: 5.073 MB / 0.6826 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.246, allocations: 111.5 kB / 0.6827 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.2462, allocations: 27.98 kB / 0.6827 GB, free: 9.664 MB / 494.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.0006305/0.2468, allocations: 218 kB / 0.6829 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.2471, allocations: 87.42 kB / 0.683 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005983/0.2531, allocations: 1.937 MB / 0.6849 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.2531, allocations: 8 kB / 0.6849 GB, free: 7.395 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.2531, allocations: 4 kB / 0.6849 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.2531, allocations: 3.984 kB / 0.6849 GB, free: 7.387 MB / 494.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.007327/0.2605, allocations: 3.044 MB / 0.6879 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.2605, allocations: 0 / 0.6879 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.261, allocations: 71.89 kB / 0.6879 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0033/0.2643, allocations: 0.9326 MB / 0.6888 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/0.2644, allocations: 12 kB / 0.6889 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008984/0.2734, allocations: 4.11 MB / 0.6929 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.2734, allocations: 11.97 kB / 0.6929 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007445/0.2809, allocations: 2.512 MB / 0.6953 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/0.2814, allocations: 184.5 kB / 0.6955 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/0.2816, allocations: 12.19 kB / 0.6955 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008023/0.2824, allocations: 51.94 kB / 0.6956 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.2828, allocations: 120.3 kB / 0.6957 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.2828, allocations: 19.98 kB / 0.6957 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008498/0.2837, allocations: 0.5147 MB / 0.6962 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2837, allocations: 4 kB / 0.6962 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001112/0.2848, allocations: 303.8 kB / 0.6965 GB, free: 11.21 MB / 0.4981 GB 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.007248/0.2921, allocations: 3.079 MB / 0.6995 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004493/0.2966, allocations: 1.746 MB / 0.7012 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2966, allocations: 448 / 0.7012 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002692/0.2993, allocations: 1.087 MB / 0.7023 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006743/0.3, allocations: 66.92 kB / 0.7023 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02168/0.3217, allocations: 9.921 MB / 0.712 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005292/0.3223, allocations: 0.946 MB / 0.713 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003334/0.3226, allocations: 69.12 kB / 0.713 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/0.3231, allocations: 291.3 kB / 0.7133 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of SimCode: time 1.933e-06/0.3231, allocations: 0 / 0.7133 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05116/0.3743, allocations: 21.54 MB / 0.7343 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.83, allocations: 5.812 kB / 0.7343 GB, free: 4.207 MB / 0.5294 GB (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)