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.001296/0.001296, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.516/1.516, allocations: 230.6 MB / 253.4 MB, free: 14.42 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.001655/0.001655, allocations: 199.4 kB / 310 MB, free: 3.148 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.5043/0.5043, allocations: 79.74 MB / 446.2 MB, free: 38.92 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.00243/0.00243, allocations: 83.12 kB / 0.5937 GB, free: 38.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1445, allocations: 73.3 MB / 0.6653 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006319/0.1508, allocations: 4.952 MB / 0.6701 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003654/0.1544, allocations: 1.648 MB / 0.6717 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.1549, allocations: 10.78 kB / 0.6717 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004586/0.1554, allocations: 157.4 kB / 0.6719 GB, free: 11.08 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.001759/0.1571, allocations: 0.7071 MB / 0.6726 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008667/0.158, allocations: 405.8 kB / 0.673 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.1592, allocations: 1.086 MB / 0.674 GB, free: 8.992 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.1596, allocations: 154.7 kB / 0.6742 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005921/0.1601, allocations: 470.2 kB / 0.6746 GB, free: 8.367 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007333/0.1609, allocations: 0.5602 MB / 0.6752 GB, free: 7.805 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.161, allocations: 100 kB / 0.6753 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004873/0.1615, allocations: 243.9 kB / 0.6755 GB, free: 7.469 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.1617, allocations: 227.1 kB / 0.6757 GB, free: 7.246 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004521/0.1622, allocations: 477.4 kB / 0.6762 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.1637, allocations: 1.272 MB / 0.6774 GB, free: 5.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1637, allocations: 4 kB / 0.6774 GB, free: 5.496 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1637, allocations: 0 / 0.6774 GB, free: 5.496 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1637, allocations: 4 kB / 0.6774 GB, free: 5.492 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.005612/0.1694, allocations: 1.727 MB / 0.6791 GB, free: 3.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.1694, allocations: 20.02 kB / 0.6791 GB, free: 3.711 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.704e-05/0.1694, allocations: 13.19 kB / 0.6791 GB, free: 3.699 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.1696, allocations: 90.66 kB / 0.6792 GB, free: 3.602 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.1729, allocations: 0.5227 MB / 0.6797 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.1739, allocations: 0.582 MB / 0.6803 GB, free: 2.465 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.1742, allocations: 197.4 kB / 0.6805 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.1743, allocations: 60 kB / 0.6805 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.1757, allocations: 0.6467 MB / 0.6812 GB, free: 1.527 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1758, allocations: 4 kB / 0.6812 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/0.1758, allocations: 20 kB / 0.6812 GB, free: 1.504 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1758, allocations: 15.94 kB / 0.6812 GB, free: 1.488 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.1772, allocations: 0.6286 MB / 0.6818 GB, free: 0.8633 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.004966/0.1822, allocations: 2.585 MB / 0.6843 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01259/0.1948, allocations: 2.626 MB / 0.6869 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.1958, allocations: 398.2 kB / 0.6873 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.46e-05/0.1959, allocations: 12.5 kB / 0.6873 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1959, allocations: 35.06 kB / 0.6873 GB, free: 11.08 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 3.006e-06/0.196, allocations: 0 / 0.6873 GB, free: 11.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.0134/0.2093, allocations: 3.292 MB / 0.6905 GB, free: 7.773 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.2094, allocations: 59.91 kB / 0.6906 GB, free: 7.699 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.2109, allocations: 0.77 MB / 0.6914 GB, free: 6.918 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.2111, allocations: 37.7 kB / 0.6914 GB, free: 6.875 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.2114, allocations: 357.1 kB / 0.6917 GB, free: 6.523 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.2117, allocations: 214.2 kB / 0.6919 GB, free: 6.312 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004609/0.2122, allocations: 178.5 kB / 0.6921 GB, free: 6.133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.2124, allocations: 394.8 kB / 0.6925 GB, free: 5.738 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.2135, allocations: 0.49 MB / 0.693 GB, free: 5.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.2147, allocations: 0.5914 MB / 0.6935 GB, free: 4.633 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01654/0.2313, allocations: 3.67 MB / 0.6971 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.2313, allocations: 0 / 0.6971 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007922/0.2392, allocations: 2.388 MB / 0.6995 GB, free: 14.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.2392, allocations: 11.94 kB / 0.6995 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2392, allocations: 0 / 0.6995 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004407/0.2436, allocations: 1.055 MB / 0.7005 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007855/0.2444, allocations: 151.7 kB / 0.7006 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.2562, allocations: 4.97 MB / 0.7055 GB, free: 8.215 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.2574, allocations: 111.4 kB / 0.7056 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.2575, allocations: 31.98 kB / 0.7056 GB, free: 8.074 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.0006046/0.2581, allocations: 213.6 kB / 0.7058 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.2584, allocations: 87.38 kB / 0.7059 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006432/0.2648, allocations: 1.928 MB / 0.7078 GB, free: 5.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2648, allocations: 4 kB / 0.7078 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/0.2648, allocations: 4 kB / 0.7078 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2649, allocations: 11.92 kB / 0.7078 GB, free: 5.801 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.007973/0.2728, allocations: 2.995 MB / 0.7107 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2728, allocations: 0 / 0.7107 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004456/0.2733, allocations: 63.91 kB / 0.7108 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003477/0.2768, allocations: 0.9407 MB / 0.7117 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.819e-05/0.2768, allocations: 11.98 kB / 0.7117 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009147/0.286, allocations: 4.012 MB / 0.7157 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.286, allocations: 7.875 kB / 0.7157 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007539/0.2935, allocations: 2.502 MB / 0.7181 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.2939, allocations: 103.4 kB / 0.7182 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.2941, allocations: 12 kB / 0.7182 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/0.2949, allocations: 43.94 kB / 0.7183 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003628/0.2952, allocations: 136.2 kB / 0.7184 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.519e-05/0.2953, allocations: 12 kB / 0.7184 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000845/0.2961, allocations: 0.5225 MB / 0.7189 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.2961, allocations: 0 / 0.7189 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001084/0.2972, allocations: 295.8 kB / 0.7192 GB, free: 9.926 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.007897/0.3051, allocations: 3.077 MB / 0.7222 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004736/0.3099, allocations: 1.5 MB / 0.7237 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3099, allocations: 0 / 0.7237 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002882/0.3127, allocations: 0.8936 MB / 0.7245 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/0.3135, allocations: 61.56 kB / 0.7246 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/0.3377, allocations: 9.902 MB / 0.7343 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/0.3385, allocations: 0.946 MB / 0.7352 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.3388, allocations: 69.12 kB / 0.7353 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.3393, allocations: 295.3 kB / 0.7355 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of SimCode: time 1.813e-06/0.3393, allocations: 0 / 0.7355 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05814/0.3974, allocations: 22.36 MB / 0.7574 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.24, allocations: 3.938 kB / 0.7574 GB, free: 2.676 MB / 0.5294 GB " [Timeout remaining time 646] (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: 21.87030461698305] Failed to read output from testmodel.py, exit status != 0: 14.416945504024625 14.437284466 14.269661847 Calling exit ...