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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 105.1 kB / 16.4 MB, free: 6.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 242.1 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 198.8 kB / 294.4 MB, free: 12.65 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4764/0.4764, allocations: 78.52 MB / 425.1 MB, free: 11.16 MB / 302.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00225/0.002251, allocations: 83.88 kB / 0.5616 GB, free: 18.96 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1549, allocations: 68.19 MB / 0.6282 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006325/0.1613, allocations: 4.898 MB / 0.633 GB, free: 9.832 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.1646, allocations: 1.591 MB / 0.6346 GB, free: 8.238 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.1649, allocations: 12 kB / 0.6346 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.1654, allocations: 162.7 kB / 0.6347 GB, free: 8.066 MB / 446.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.001456/0.1668, allocations: 0.646 MB / 0.6354 GB, free: 7.418 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008386/0.1677, allocations: 424.4 kB / 0.6358 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1689, allocations: 1.078 MB / 0.6368 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003643/0.1693, allocations: 218.3 kB / 0.637 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005373/0.1698, allocations: 446.2 kB / 0.6374 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007181/0.1705, allocations: 0.5601 MB / 0.638 GB, free: 4.699 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.1707, allocations: 100 kB / 0.6381 GB, free: 4.602 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.1711, allocations: 231.9 kB / 0.6383 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.1714, allocations: 227.2 kB / 0.6385 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004837/0.1719, allocations: 481.4 kB / 0.639 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.1733, allocations: 1.257 MB / 0.6402 GB, free: 2.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1733, allocations: 0 / 0.6402 GB, free: 2.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1733, allocations: 4 kB / 0.6402 GB, free: 2.414 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1733, allocations: 0 / 0.6402 GB, free: 2.414 MB / 446.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.005301/0.1786, allocations: 1.779 MB / 0.642 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.1787, allocations: 8.031 kB / 0.642 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.1788, allocations: 94.7 kB / 0.6421 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003288/0.1821, allocations: 0.5229 MB / 0.6426 GB, free: 15.94 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009709/0.1831, allocations: 0.6515 MB / 0.6432 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002144/0.1833, allocations: 150 kB / 0.6433 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.1834, allocations: 48 kB / 0.6434 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00139/0.1848, allocations: 0.6584 MB / 0.644 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1849, allocations: 0 / 0.644 GB, free: 14.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.1849, allocations: 16 kB / 0.644 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.185, allocations: 15.94 kB / 0.6441 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.1863, allocations: 0.6363 MB / 0.6447 GB, free: 13.7 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.004674/0.191, allocations: 2.624 MB / 0.6472 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/0.2035, allocations: 2.812 MB / 0.65 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.2046, allocations: 442.4 kB / 0.6504 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-05/0.2047, allocations: 8.547 kB / 0.6504 GB, free: 7.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.2047, allocations: 43.12 kB / 0.6505 GB, free: 7.609 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.995e-06/0.2047, allocations: 0 / 0.6505 GB, free: 7.609 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.013/0.2177, allocations: 3.536 MB / 0.6539 GB, free: 4.004 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.2179, allocations: 59.97 kB / 0.654 GB, free: 3.934 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.2191, allocations: 0.77 MB / 0.6547 GB, free: 3.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/0.2192, allocations: 41.64 kB / 0.6548 GB, free: 3.109 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.2195, allocations: 365 kB / 0.6551 GB, free: 2.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000254/0.2198, allocations: 222.2 kB / 0.6553 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/0.2202, allocations: 162.6 kB / 0.6555 GB, free: 2.367 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002236/0.2204, allocations: 394.7 kB / 0.6559 GB, free: 1.973 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.2215, allocations: 0.4978 MB / 0.6563 GB, free: 1.477 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.2226, allocations: 0.5953 MB / 0.6569 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01577/0.2384, allocations: 3.549 MB / 0.6604 GB, free: 13.28 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.2385, allocations: 0 / 0.6604 GB, free: 13.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007802/0.2463, allocations: 2.4 MB / 0.6627 GB, free: 10.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2463, allocations: 8 kB / 0.6627 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.2464, allocations: 4 kB / 0.6627 GB, free: 10.85 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004389/0.2507, allocations: 1.05 MB / 0.6638 GB, free: 9.789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007701/0.2515, allocations: 151.8 kB / 0.6639 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/0.2633, allocations: 5.076 MB / 0.6689 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.2645, allocations: 111.5 kB / 0.669 GB, free: 4.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.2647, allocations: 31.98 kB / 0.669 GB, free: 4.273 MB / 478.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.000558/0.2652, allocations: 214.3 kB / 0.6692 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.2655, allocations: 83.42 kB / 0.6693 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006259/0.2718, allocations: 1.949 MB / 0.6712 GB, free: 2.004 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.689e-06/0.2718, allocations: 8 kB / 0.6712 GB, free: 1.996 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.2718, allocations: 4 kB / 0.6712 GB, free: 1.992 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.2718, allocations: 3.984 kB / 0.6712 GB, free: 1.988 MB / 478.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.00769/0.2795, allocations: 3.04 MB / 0.6742 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.2795, allocations: 3.984 kB / 0.6742 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.28, allocations: 63.84 kB / 0.6742 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/0.2834, allocations: 0.9374 MB / 0.6752 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/0.2835, allocations: 12 kB / 0.6752 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009021/0.2926, allocations: 4.115 MB / 0.6792 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.2926, allocations: 3.938 kB / 0.6792 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007438/0.3, allocations: 2.516 MB / 0.6817 GB, free: 7.031 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.3004, allocations: 184.4 kB / 0.6818 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/0.3006, allocations: 12 kB / 0.6818 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008189/0.3015, allocations: 51.94 kB / 0.6819 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003771/0.3018, allocations: 120.4 kB / 0.682 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.3019, allocations: 12 kB / 0.682 GB, free: 6.641 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008697/0.3028, allocations: 0.5186 MB / 0.6825 GB, free: 6.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3028, allocations: 4 kB / 0.6825 GB, free: 6.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001099/0.3039, allocations: 299.8 kB / 0.6828 GB, free: 5.828 MB / 494.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.007981/0.3119, allocations: 3.083 MB / 0.6858 GB, free: 2.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004917/0.3168, allocations: 1.738 MB / 0.6875 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3168, allocations: 448 / 0.6875 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2861/0.603, allocations: 1.077 MB / 0.6886 GB, free: 57.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007866/0.6038, allocations: 62.44 kB / 0.6886 GB, free: 57.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/0.6268, allocations: 9.922 MB / 0.6983 GB, free: 54.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006278/0.6275, allocations: 0.945 MB / 0.6992 GB, free: 53.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003793/0.6279, allocations: 70.77 kB / 0.6993 GB, free: 53.45 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/0.6283, allocations: 289.4 kB / 0.6996 GB, free: 53.22 MB / 494.1 MB Notification: Performance of SimCode: time 1.353e-06/0.6283, allocations: 3.031 kB / 0.6996 GB, free: 53.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05605/0.6844, allocations: 21.52 MB / 0.7206 GB, free: 44.15 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.86, allocations: 3.094 kB / 0.7206 GB, free: 44.15 MB / 494.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.684260006062686] Failed to read output from testmodel.py, exit status != 0: 12.954244459047914 12.963990445 12.788874906 Calling exit ...