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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 253.5 MB, free: 14.28 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 213.8 kB / 310 MB, free: 3.105 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.5348/0.5348, allocations: 79.75 MB / 446.2 MB, free: 40.52 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 85.48 kB / 0.5936 GB, free: 38.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1491, allocations: 73.3 MB / 0.6652 GB, free: 340 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006011/0.1551, allocations: 4.365 MB / 0.6695 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.1592, allocations: 1.561 MB / 0.671 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007364/0.16, allocations: 5.5 kB / 0.671 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.1606, allocations: 158 kB / 0.6711 GB, free: 11.6 MB / 462.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.002078/0.1626, allocations: 0.6784 MB / 0.6718 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009704/0.1636, allocations: 400.9 kB / 0.6722 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001489/0.1651, allocations: 1.082 MB / 0.6732 GB, free: 9.504 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.1655, allocations: 150.8 kB / 0.6734 GB, free: 9.344 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000724/0.1662, allocations: 470.2 kB / 0.6738 GB, free: 8.883 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007505/0.1669, allocations: 0.564 MB / 0.6744 GB, free: 8.316 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.1671, allocations: 100 kB / 0.6745 GB, free: 8.219 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000559/0.1677, allocations: 247.9 kB / 0.6747 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.1679, allocations: 227.1 kB / 0.6749 GB, free: 7.754 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004078/0.1683, allocations: 389.9 kB / 0.6753 GB, free: 7.371 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00168/0.17, allocations: 1.28 MB / 0.6765 GB, free: 6.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.17, allocations: 7.984 kB / 0.6766 GB, free: 6.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.17, allocations: 4 kB / 0.6766 GB, free: 6.074 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.17, allocations: 3.938 kB / 0.6766 GB, free: 6.07 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.006131/0.1762, allocations: 1.724 MB / 0.6782 GB, free: 4.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/0.1762, allocations: 8.031 kB / 0.6783 GB, free: 4.305 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.121e-05/0.1763, allocations: 21.12 kB / 0.6783 GB, free: 4.285 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.1764, allocations: 90.7 kB / 0.6784 GB, free: 4.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003434/0.1798, allocations: 0.5227 MB / 0.6789 GB, free: 3.664 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.181, allocations: 0.5859 MB / 0.6794 GB, free: 3.047 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/0.1813, allocations: 193.5 kB / 0.6796 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.1814, allocations: 52 kB / 0.6797 GB, free: 2.773 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.1828, allocations: 0.6623 MB / 0.6803 GB, free: 2.105 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1829, allocations: 4 kB / 0.6803 GB, free: 2.102 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/0.1829, allocations: 16 kB / 0.6803 GB, free: 2.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.183, allocations: 15.94 kB / 0.6804 GB, free: 2.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.1843, allocations: 0.6286 MB / 0.681 GB, free: 1.445 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.004786/0.1891, allocations: 2.092 MB / 0.683 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.2012, allocations: 2.621 MB / 0.6856 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.2023, allocations: 402.2 kB / 0.686 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.088e-05/0.2024, allocations: 8.5 kB / 0.686 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.2024, allocations: 35.06 kB / 0.686 GB, free: 12.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 3.637e-06/0.2024, allocations: 4 kB / 0.686 GB, free: 12.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.01268/0.2151, allocations: 3.296 MB / 0.6892 GB, free: 8.898 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.2151, allocations: 55.91 kB / 0.6893 GB, free: 8.828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.2164, allocations: 0.7623 MB / 0.69 GB, free: 8.055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.2165, allocations: 37.7 kB / 0.6901 GB, free: 8.012 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.2169, allocations: 361.1 kB / 0.6904 GB, free: 7.656 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.2171, allocations: 222.1 kB / 0.6906 GB, free: 7.438 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/0.2175, allocations: 174.5 kB / 0.6908 GB, free: 7.262 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.2177, allocations: 390.7 kB / 0.6912 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.2187, allocations: 0.4939 MB / 0.6916 GB, free: 6.379 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.2199, allocations: 0.5992 MB / 0.6922 GB, free: 5.754 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/0.2366, allocations: 3.67 MB / 0.6958 GB, free: 2.051 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/0.2366, allocations: 0 / 0.6958 GB, free: 2.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00766/0.2442, allocations: 2.384 MB / 0.6981 GB, free: 15.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.2443, allocations: 5.406 kB / 0.6981 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.2443, allocations: 4 kB / 0.6981 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004314/0.2486, allocations: 1.051 MB / 0.6992 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/0.2495, allocations: 155.7 kB / 0.6993 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.2604, allocations: 4.858 MB / 0.7041 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.2617, allocations: 111.3 kB / 0.7042 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.479e-05/0.2618, allocations: 35.98 kB / 0.7042 GB, free: 9.309 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.0005078/0.2623, allocations: 214.7 kB / 0.7044 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.2625, allocations: 91.36 kB / 0.7045 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006005/0.2685, allocations: 1.924 MB / 0.7064 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.2685, allocations: 8 kB / 0.7064 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.2685, allocations: 4 kB / 0.7064 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.2685, allocations: 3.984 kB / 0.7064 GB, free: 7.043 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.007303/0.2758, allocations: 2.691 MB / 0.709 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.2758, allocations: 0 / 0.709 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.2763, allocations: 63.91 kB / 0.7091 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003343/0.2797, allocations: 0.9409 MB / 0.71 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.209e-05/0.2797, allocations: 12 kB / 0.71 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008476/0.2882, allocations: 3.918 MB / 0.7138 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.2882, allocations: 7.875 kB / 0.7138 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007057/0.2953, allocations: 2.506 MB / 0.7163 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003369/0.2956, allocations: 103.3 kB / 0.7164 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.2957, allocations: 12 kB / 0.7164 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.2965, allocations: 51.94 kB / 0.7164 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/0.2969, allocations: 124.3 kB / 0.7166 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.2969, allocations: 16 kB / 0.7166 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007294/0.2976, allocations: 0.5225 MB / 0.7171 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.2976, allocations: 0 / 0.7171 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009802/0.2986, allocations: 295.8 kB / 0.7174 GB, free: 11.59 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.007468/0.3061, allocations: 3.078 MB / 0.7204 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004426/0.3105, allocations: 1.489 MB / 0.7218 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3105, allocations: 64 / 0.7218 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002733/0.3133, allocations: 0.8934 MB / 0.7227 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.314, allocations: 62.92 kB / 0.7228 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02244/0.3364, allocations: 9.898 MB / 0.7324 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.3368, allocations: 356.5 kB / 0.7328 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003589/0.3372, allocations: 73.2 kB / 0.7328 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/0.3376, allocations: 291.3 kB / 0.7331 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of SimCode: time 1.423e-06/0.3376, allocations: 0 / 0.7331 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08435/0.422, allocations: 23.12 MB / 0.7557 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/14.55, allocations: 5.328 kB / 0.7557 GB, free: 4.25 MB / 0.5294 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB_fmu --startTime=0 --stopTime=10 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.266992360935546] Failed to read output from testmodel.py, exit status != 0: 14.725868152920157 14.747804352 14.574544904 Calling exit ...