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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 105.7 kB / 16.45 MB, free: 6.445 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.427/1.427, allocations: 225.6 MB / 244.8 MB, free: 14.16 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.001524/0.001524, allocations: 190 kB / 299.8 MB, free: 9.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5316/0.5316, allocations: 99.66 MB / 454.4 MB, free: 5.023 MB / 318.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 79.88 kB / 0.6073 GB, free: 9.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1554, allocations: 76.94 MB / 0.6825 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.00664/0.1621, allocations: 4.935 MB / 0.6873 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.1655, allocations: 1.615 MB / 0.6889 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.1658, allocations: 8 kB / 0.6889 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.1662, allocations: 150.7 kB / 0.689 GB, free: 5.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.1676, allocations: 0.6799 MB / 0.6897 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.1684, allocations: 430 kB / 0.6901 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.1696, allocations: 1.082 MB / 0.6911 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.1698, allocations: 150.2 kB / 0.6913 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000485/0.1703, allocations: 446.2 kB / 0.6917 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006421/0.171, allocations: 0.5602 MB / 0.6923 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.1711, allocations: 100 kB / 0.6924 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.1715, allocations: 235.8 kB / 0.6926 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1717, allocations: 227.1 kB / 0.6928 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004036/0.1721, allocations: 477.4 kB / 0.6933 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.1734, allocations: 1.265 MB / 0.6945 GB, free: 24 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1734, allocations: 0 / 0.6945 GB, free: 24 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1734, allocations: 4 kB / 0.6945 GB, free: 20 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.1734, allocations: 0 / 0.6945 GB, free: 20 kB / 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.2887/0.4621, allocations: 1.779 MB / 0.6962 GB, free: 17.12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4622, allocations: 9.625 kB / 0.6962 GB, free: 17.12 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.4623, allocations: 87.53 kB / 0.6963 GB, free: 17.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003264/0.4656, allocations: 0.5315 MB / 0.6968 GB, free: 17.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008792/0.4664, allocations: 0.6454 MB / 0.6975 GB, free: 16.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.4666, allocations: 140.6 kB / 0.6976 GB, free: 16.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.4667, allocations: 54.86 kB / 0.6977 GB, free: 16.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.468, allocations: 0.6653 MB / 0.6983 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.468, allocations: 2.156 kB / 0.6983 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/0.4681, allocations: 25.56 kB / 0.6983 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.4681, allocations: 11.94 kB / 0.6983 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.4693, allocations: 0.6228 MB / 0.699 GB, free: 16.57 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.004944/0.4742, allocations: 2.632 MB / 0.7015 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.4864, allocations: 2.758 MB / 0.7042 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000978/0.4874, allocations: 405.7 kB / 0.7046 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.37e-05/0.4875, allocations: 9.516 kB / 0.7046 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.4875, allocations: 42.17 kB / 0.7047 GB, free: 14.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=57): time 2.885e-06/0.4875, allocations: 0 / 0.7047 GB, free: 14.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=57): time 0.01265/0.5002, allocations: 3.528 MB / 0.7081 GB, free: 13.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.5002, allocations: 58.59 kB / 0.7082 GB, free: 13.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.5015, allocations: 0.7579 MB / 0.7089 GB, free: 13.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.5017, allocations: 36.11 kB / 0.7089 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.5019, allocations: 363.2 kB / 0.7093 GB, free: 12.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.5022, allocations: 220.1 kB / 0.7095 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004475/0.5026, allocations: 175 kB / 0.7097 GB, free: 12.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.5028, allocations: 396.6 kB / 0.71 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.5039, allocations: 0.4904 MB / 0.7105 GB, free: 12.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.5051, allocations: 0.5949 MB / 0.7111 GB, free: 11.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01704/0.5222, allocations: 3.553 MB / 0.7146 GB, free: 10.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.5222, allocations: 0 / 0.7146 GB, free: 10.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007729/0.5299, allocations: 2.388 MB / 0.7169 GB, free: 9.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.5299, allocations: 9.5 kB / 0.7169 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.53, allocations: 1.406 kB / 0.7169 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00409/0.534, allocations: 1.049 MB / 0.7179 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008147/0.5349, allocations: 151.5 kB / 0.7181 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009938/0.5448, allocations: 5.073 MB / 0.723 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.5465, allocations: 111.7 kB / 0.7231 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002673/0.5468, allocations: 29.61 kB / 0.7232 GB, free: 5.828 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.0008385/0.5476, allocations: 229.1 kB / 0.7234 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.548, allocations: 81.45 kB / 0.7235 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006297/0.5543, allocations: 1.923 MB / 0.7253 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.5543, allocations: 7.141 kB / 0.7253 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/0.5543, allocations: 4.188 kB / 0.7253 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.5543, allocations: 7.938 kB / 0.7254 GB, free: 4.57 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.007066/0.5614, allocations: 3.023 MB / 0.7283 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5614, allocations: 0 / 0.7283 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.5618, allocations: 66.31 kB / 0.7284 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/0.565, allocations: 0.936 MB / 0.7293 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.805e-05/0.565, allocations: 15.52 kB / 0.7293 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007851/0.5729, allocations: 4.112 MB / 0.7333 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5729, allocations: 1.375 kB / 0.7333 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007422/0.5803, allocations: 2.507 MB / 0.7358 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005918/0.5809, allocations: 184 kB / 0.7359 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.5812, allocations: 15.92 kB / 0.736 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009325/0.5821, allocations: 55.56 kB / 0.736 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/0.5825, allocations: 115.7 kB / 0.7361 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/0.5826, allocations: 20.56 kB / 0.7361 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008293/0.5834, allocations: 0.5224 MB / 0.7366 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.5834, allocations: 0 / 0.7366 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001136/0.5845, allocations: 299.9 kB / 0.7369 GB, free: 13.23 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.007522/0.592, allocations: 3.067 MB / 0.7399 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00473/0.5968, allocations: 1.649 MB / 0.7415 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5968, allocations: 0 / 0.7415 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002876/0.5997, allocations: 1.041 MB / 0.7426 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008679/0.6005, allocations: 62.88 kB / 0.7426 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/0.6246, allocations: 9.9 MB / 0.7523 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007828/0.6254, allocations: 0.9382 MB / 0.7532 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003959/0.6258, allocations: 68.66 kB / 0.7533 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00055/0.6264, allocations: 287.3 kB / 0.7535 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of SimCode: time 1.433e-06/0.6264, allocations: 0 / 0.7535 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06115/0.6875, allocations: 21.75 MB / 0.7748 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.86, allocations: 9.922 kB / 0.7748 GB, free: 6.941 MB / 0.5294 GB " [Timeout remaining time 647] (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: 19.063197731040418] Failed to read output from testmodel.py, exit status != 0: 12.955107185058296 12.97901196 12.800660766 Calling exit ...