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.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.001359/0.001359, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.471/1.471, allocations: 230.6 MB / 253.5 MB, free: 14.3 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.001858/0.001858, allocations: 210 kB / 310 MB, free: 3.09 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6128/0.6128, allocations: 101.3 MB / 467.7 MB, free: 31.95 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Examples_KundurSMIB_SMIB",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.KundurSMIB.SMIB,fileNamePrefix="OpenIPSL_dev_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.002369/0.002369, allocations: 87.3 kB / 0.6251 GB, free: 32.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1698, allocations: 78.61 MB / 0.7018 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006387/0.1762, allocations: 4.389 MB / 0.7061 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003644/0.1798, allocations: 1.576 MB / 0.7077 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004603/0.1803, allocations: 4 kB / 0.7077 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005006/0.1808, allocations: 154.7 kB / 0.7078 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.1826, allocations: 0.6825 MB / 0.7085 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009441/0.1835, allocations: 405.7 kB / 0.7089 GB, free: 9.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001376/0.1849, allocations: 1.078 MB / 0.7099 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.1852, allocations: 154.7 kB / 0.7101 GB, free: 8.383 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006621/0.1859, allocations: 478.2 kB / 0.7105 GB, free: 7.914 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007094/0.1866, allocations: 0.5602 MB / 0.7111 GB, free: 7.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.1867, allocations: 100 kB / 0.7112 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005083/0.1872, allocations: 247.9 kB / 0.7114 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.1875, allocations: 231.1 kB / 0.7116 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.1878, allocations: 390 kB / 0.712 GB, free: 6.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.1893, allocations: 1.284 MB / 0.7132 GB, free: 5.113 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1893, allocations: 0 / 0.7132 GB, free: 5.113 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1893, allocations: 4 kB / 0.7132 GB, free: 5.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1893, allocations: 0 / 0.7132 GB, free: 5.109 MB / 494.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.005719/0.1951, allocations: 1.719 MB / 0.7149 GB, free: 3.352 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.1951, allocations: 12.02 kB / 0.7149 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.073e-05/0.1951, allocations: 13.19 kB / 0.7149 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.1953, allocations: 90.66 kB / 0.715 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/0.1986, allocations: 0.5304 MB / 0.7156 GB, free: 2.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.1998, allocations: 0.5821 MB / 0.7161 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.2, allocations: 197.5 kB / 0.7163 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.2001, allocations: 48 kB / 0.7164 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.2016, allocations: 0.6545 MB / 0.717 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.2016, allocations: 0 / 0.717 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.2017, allocations: 24 kB / 0.717 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.2017, allocations: 15.94 kB / 0.717 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.203, allocations: 0.6286 MB / 0.7176 GB, free: 0.4922 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 preOpt removeSimpleEquations (simulation): time 0.004749/0.2077, allocations: 2.096 MB / 0.7197 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/0.2197, allocations: 2.603 MB / 0.7222 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.2207, allocations: 414.1 kB / 0.7226 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.672e-05/0.2208, allocations: 4.5 kB / 0.7226 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.2209, allocations: 39.06 kB / 0.7227 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=57): time 3.256e-06/0.2209, allocations: 0 / 0.7227 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=57): time 0.01269/0.2335, allocations: 3.292 MB / 0.7259 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.2336, allocations: 59.91 kB / 0.7259 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.2349, allocations: 0.7739 MB / 0.7267 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.235, allocations: 37.7 kB / 0.7267 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.2353, allocations: 357 kB / 0.7271 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.2356, allocations: 226.1 kB / 0.7273 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003569/0.2359, allocations: 166.6 kB / 0.7275 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.2361, allocations: 394.7 kB / 0.7278 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.2372, allocations: 0.49 MB / 0.7283 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.2383, allocations: 0.6069 MB / 0.7289 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01668/0.2549, allocations: 3.666 MB / 0.7325 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.255, allocations: 0 / 0.7325 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007614/0.2626, allocations: 2.388 MB / 0.7348 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.2626, allocations: 4 kB / 0.7348 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.2626, allocations: 4 kB / 0.7348 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004287/0.2669, allocations: 1.038 MB / 0.7358 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/0.2678, allocations: 155.7 kB / 0.736 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.2787, allocations: 4.868 MB / 0.7407 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.28, allocations: 123.4 kB / 0.7409 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.2801, allocations: 24 kB / 0.7409 GB, free: 8.359 MB / 0.5137 GB 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.0005256/0.2806, allocations: 218.3 kB / 0.7411 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.2808, allocations: 87.38 kB / 0.7412 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005935/0.2867, allocations: 1.928 MB / 0.743 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.2867, allocations: 4 kB / 0.7431 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2867, allocations: 8 kB / 0.7431 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.2867, allocations: 3.984 kB / 0.7431 GB, free: 6.09 MB / 0.5137 GB 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.007094/0.2938, allocations: 2.684 MB / 0.7457 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.2938, allocations: 8 kB / 0.7457 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/0.2943, allocations: 55.97 kB / 0.7457 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003263/0.2976, allocations: 0.9332 MB / 0.7467 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.387e-05/0.2976, allocations: 15.98 kB / 0.7467 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008236/0.3059, allocations: 3.925 MB / 0.7505 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.3059, allocations: 3.938 kB / 0.7505 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00704/0.3129, allocations: 2.514 MB / 0.753 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/0.3133, allocations: 103.3 kB / 0.7531 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/0.3136, allocations: 12 kB / 0.7531 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009107/0.3145, allocations: 55.88 kB / 0.7531 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004221/0.3149, allocations: 128.2 kB / 0.7533 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.315, allocations: 12 kB / 0.7533 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009402/0.3159, allocations: 0.5227 MB / 0.7538 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.3159, allocations: 4 kB / 0.7538 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001114/0.317, allocations: 303.7 kB / 0.7541 GB, free: 10.61 MB / 0.5294 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.007383/0.3244, allocations: 3.077 MB / 0.7571 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004393/0.3288, allocations: 1.493 MB / 0.7585 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3288, allocations: 4 kB / 0.7585 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/0.3314, allocations: 0.882 MB / 0.7594 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.3321, allocations: 62.92 kB / 0.7595 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02198/0.3541, allocations: 9.906 MB / 0.7691 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.3545, allocations: 348.6 kB / 0.7695 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003699/0.3549, allocations: 69.2 kB / 0.7695 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/0.3554, allocations: 287.3 kB / 0.7698 GB, free: 10.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.313e-06/0.3554, allocations: 0 / 0.7698 GB, free: 10.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05831/0.4137, allocations: 23.14 MB / 0.7924 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.5, allocations: 10.56 kB / 0.7924 GB, free: 3.258 MB / 0.5606 GB " [Timeout remaining time 645] (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 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_KundurSMIB_SMIB.fmu > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.12527560198214] Failed to read output from testmodel.py, exit status != 0: 14.672711387975141 14.688997897 14.496179476 Calling exit ...