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.001362/0.001362, allocations: 115.9 kB / 17.16 MB, free: 5.895 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.434/1.434, allocations: 230.6 MB / 250.5 MB, free: 9.398 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.001588/0.001588, allocations: 210.2 kB / 306.7 MB, free: 4.363 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.4374/0.4374, allocations: 79.71 MB / 442.5 MB, free: 252 kB / 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.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.002385/0.002385, allocations: 84.3 kB / 0.5885 GB, free: 1.648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1633, allocations: 73.25 MB / 0.66 GB, free: 8.297 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006162/0.1695, allocations: 4.938 MB / 0.6649 GB, free: 3.332 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.1726, allocations: 1.654 MB / 0.6665 GB, free: 1.672 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.1729, allocations: 4 kB / 0.6665 GB, free: 1.668 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.1733, allocations: 158.7 kB / 0.6666 GB, free: 1.512 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.00157/0.1749, allocations: 0.6954 MB / 0.6673 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008238/0.1757, allocations: 416 kB / 0.6677 GB, free: 420 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.1769, allocations: 1.082 MB / 0.6688 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.1772, allocations: 146 kB / 0.6689 GB, free: 15.17 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005444/0.1777, allocations: 474.2 kB / 0.6693 GB, free: 14.71 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006762/0.1784, allocations: 0.5602 MB / 0.6699 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.1785, allocations: 96 kB / 0.67 GB, free: 14.05 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.179, allocations: 247.9 kB / 0.6702 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.1792, allocations: 231.1 kB / 0.6704 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.1796, allocations: 477.4 kB / 0.6709 GB, free: 13.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.1811, allocations: 1.272 MB / 0.6721 GB, free: 11.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.1811, allocations: 8 kB / 0.6721 GB, free: 11.83 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1811, allocations: 0 / 0.6721 GB, free: 11.83 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1811, allocations: 0 / 0.6721 GB, free: 11.83 MB / 478.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.005603/0.1867, allocations: 1.795 MB / 0.6739 GB, free: 9.977 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1867, allocations: 12.03 kB / 0.6739 GB, free: 9.965 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.963e-05/0.1868, allocations: 13.19 kB / 0.6739 GB, free: 9.953 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/0.1869, allocations: 90.7 kB / 0.674 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.1903, allocations: 0.5266 MB / 0.6745 GB, free: 9.328 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.1913, allocations: 0.6515 MB / 0.6752 GB, free: 8.633 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.1915, allocations: 138.1 kB / 0.6753 GB, free: 8.48 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1916, allocations: 51.94 kB / 0.6753 GB, free: 8.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.1931, allocations: 0.6661 MB / 0.676 GB, free: 7.758 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1931, allocations: 0 / 0.676 GB, free: 7.758 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/0.1931, allocations: 20 kB / 0.676 GB, free: 7.738 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.1932, allocations: 15.94 kB / 0.676 GB, free: 7.723 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.1945, allocations: 0.6286 MB / 0.6766 GB, free: 7.09 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 preOpt removeSimpleEquations (simulation): time 0.004799/0.1993, allocations: 2.62 MB / 0.6792 GB, free: 4.352 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.2124, allocations: 2.762 MB / 0.6819 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.2135, allocations: 410.3 kB / 0.6823 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.302e-05/0.2136, allocations: 8.5 kB / 0.6823 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.2136, allocations: 39.12 kB / 0.6823 GB, free: 1.082 MB / 478.1 MB Notification: Performance of pre-optimization done (n=57): time 2.926e-06/0.2136, allocations: 4 kB / 0.6823 GB, free: 1.078 MB / 478.1 MB Notification: Performance of matching and sorting (n=57): time 0.0136/0.2273, allocations: 3.516 MB / 0.6858 GB, free: 13.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.2273, allocations: 59.95 kB / 0.6858 GB, free: 13.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.2286, allocations: 0.7778 MB / 0.6866 GB, free: 12.63 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.2287, allocations: 33.7 kB / 0.6866 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.229, allocations: 357.1 kB / 0.687 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/0.2293, allocations: 222.2 kB / 0.6872 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003643/0.2296, allocations: 174.5 kB / 0.6873 GB, free: 11.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.2298, allocations: 390.7 kB / 0.6877 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.2309, allocations: 0.4978 MB / 0.6882 GB, free: 10.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.2321, allocations: 0.5914 MB / 0.6888 GB, free: 10.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01717/0.2493, allocations: 3.67 MB / 0.6924 GB, free: 6.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.2493, allocations: 0 / 0.6924 GB, free: 6.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007854/0.2571, allocations: 2.38 MB / 0.6947 GB, free: 4.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.2572, allocations: 12 kB / 0.6947 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.2572, allocations: 3.938 kB / 0.6947 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004499/0.2617, allocations: 1.046 MB / 0.6957 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/0.2626, allocations: 151.8 kB / 0.6959 GB, free: 3.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.314/0.5766, allocations: 5.072 MB / 0.7008 GB, free: 35.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.5778, allocations: 110.1 kB / 0.7009 GB, free: 35.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.633e-05/0.5779, allocations: 31.48 kB / 0.701 GB, free: 35.23 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.0004307/0.5783, allocations: 211 kB / 0.7012 GB, free: 35.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.5785, allocations: 87.97 kB / 0.7012 GB, free: 35.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006372/0.5848, allocations: 1.927 MB / 0.7031 GB, free: 35.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5849, allocations: 9.094 kB / 0.7031 GB, free: 35.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.5849, allocations: 4.125 kB / 0.7031 GB, free: 35.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5849, allocations: 4.188 kB / 0.7031 GB, free: 35.03 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.007695/0.5926, allocations: 3.026 MB / 0.7061 GB, free: 34.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5926, allocations: 1.125 kB / 0.7061 GB, free: 34.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.593, allocations: 71.66 kB / 0.7062 GB, free: 34.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003524/0.5965, allocations: 0.9326 MB / 0.7071 GB, free: 34.53 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/0.5966, allocations: 10.47 kB / 0.7071 GB, free: 34.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008422/0.605, allocations: 4.118 MB / 0.7111 GB, free: 32.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.605, allocations: 0.7031 kB / 0.7111 GB, free: 32.15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007312/0.6124, allocations: 2.511 MB / 0.7136 GB, free: 31.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.6126, allocations: 176.8 kB / 0.7137 GB, free: 31.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.6127, allocations: 11 kB / 0.7137 GB, free: 31.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007178/0.6134, allocations: 51.89 kB / 0.7138 GB, free: 31.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/0.6138, allocations: 118.9 kB / 0.7139 GB, free: 31.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.6138, allocations: 14.69 kB / 0.7139 GB, free: 31.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007043/0.6145, allocations: 0.5211 MB / 0.7144 GB, free: 30.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6145, allocations: 0.6562 kB / 0.7144 GB, free: 30.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001015/0.6156, allocations: 302.4 kB / 0.7147 GB, free: 30.79 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.00716/0.6227, allocations: 3.079 MB / 0.7177 GB, free: 29.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004469/0.6272, allocations: 1.652 MB / 0.7193 GB, free: 28.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6272, allocations: 0 / 0.7193 GB, free: 28.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0029/0.6301, allocations: 1.039 MB / 0.7203 GB, free: 28.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007551/0.6309, allocations: 63.03 kB / 0.7204 GB, free: 28.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02128/0.6521, allocations: 9.917 MB / 0.7301 GB, free: 23.24 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.6525, allocations: 0.9469 MB / 0.731 GB, free: 22.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.6527, allocations: 64.67 kB / 0.7311 GB, free: 22.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.653, allocations: 292.6 kB / 0.7314 GB, free: 22.16 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.653, allocations: 0 / 0.7314 GB, free: 22.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04138/0.6944, allocations: 21.8 MB / 0.7526 GB, free: 3.223 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.02, allocations: 8.688 kB / 0.7526 GB, free: 3.219 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 & /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: 20.160796613025013] Failed to read output from testmodel.py, exit status != 0: 13.166358185000718 13.180405992 12.996629394 Calling exit ...