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.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.001346/0.001346, allocations: 97.69 kB / 19.59 MB, free: 2.336 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.458/1.458, allocations: 225.6 MB / 248.2 MB, free: 3.082 MB / 190.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.001584/0.001584, allocations: 188.2 kB / 303.6 MB, free: 3.488 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.3414/0.3414, allocations: 79.72 MB / 438.6 MB, free: 7.035 MB / 366.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.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: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 83.88 kB / 0.5843 GB, free: 7.754 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3822, allocations: 72.12 MB / 0.6547 GB, free: 18.38 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004996/0.3872, allocations: 4.914 MB / 0.6595 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.3904, allocations: 1.615 MB / 0.6611 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005036/0.391, allocations: 6.25 kB / 0.6611 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.3914, allocations: 157.6 kB / 0.6613 GB, free: 13.58 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.001615/0.393, allocations: 0.6814 MB / 0.6619 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008912/0.3939, allocations: 418.4 kB / 0.6623 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.3951, allocations: 1.082 MB / 0.6634 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.3954, allocations: 148.9 kB / 0.6635 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006424/0.3961, allocations: 458.8 kB / 0.664 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007372/0.3968, allocations: 0.5695 MB / 0.6645 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.397, allocations: 98.47 kB / 0.6646 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.3976, allocations: 238.6 kB / 0.6648 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.3977, allocations: 224.9 kB / 0.6651 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003491/0.3981, allocations: 482 kB / 0.6655 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.3995, allocations: 1.268 MB / 0.6668 GB, free: 10.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3995, allocations: 0 / 0.6668 GB, free: 10.69 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3995, allocations: 0 / 0.6668 GB, free: 10.69 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.057e-05/0.3995, allocations: 4.5 kB / 0.6668 GB, free: 10.69 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.005574/0.4051, allocations: 1.705 MB / 0.6684 GB, free: 9.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4051, allocations: 13.89 kB / 0.6684 GB, free: 9.766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003357/0.4085, allocations: 0.526 MB / 0.669 GB, free: 9.543 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.4095, allocations: 0.5867 MB / 0.6695 GB, free: 9.055 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.4097, allocations: 143.9 kB / 0.6697 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.4098, allocations: 48.94 kB / 0.6697 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.4111, allocations: 0.6583 MB / 0.6703 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4111, allocations: 3.984 kB / 0.6704 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.4112, allocations: 20.41 kB / 0.6704 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.4112, allocations: 11.34 kB / 0.6704 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.4124, allocations: 0.6259 MB / 0.671 GB, free: 8.211 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.004392/0.4168, allocations: 2.582 MB / 0.6735 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.429, allocations: 2.612 MB / 0.6761 GB, free: 5.07 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.4301, allocations: 411.7 kB / 0.6765 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/0.4301, allocations: 6.875 kB / 0.6765 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.4302, allocations: 44.52 kB / 0.6765 GB, free: 4.809 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 3.005e-06/0.4302, allocations: 1.156 kB / 0.6765 GB, free: 4.809 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.01284/0.443, allocations: 3.292 MB / 0.6797 GB, free: 3.199 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.443, allocations: 56.75 kB / 0.6798 GB, free: 3.137 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.4444, allocations: 0.7679 MB / 0.6805 GB, free: 2.688 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.4445, allocations: 36.02 kB / 0.6806 GB, free: 2.648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.4447, allocations: 364.5 kB / 0.6809 GB, free: 2.328 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.445, allocations: 217 kB / 0.6811 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/0.4453, allocations: 174.6 kB / 0.6813 GB, free: 2.031 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4454, allocations: 397.4 kB / 0.6817 GB, free: 1.652 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.4465, allocations: 0.4914 MB / 0.6821 GB, free: 1.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.4476, allocations: 0.592 MB / 0.6827 GB, free: 1.051 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01591/0.4635, allocations: 3.553 MB / 0.6862 GB, free: 15.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.4635, allocations: 1.375 kB / 0.6862 GB, free: 15.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007986/0.4715, allocations: 2.388 MB / 0.6885 GB, free: 13.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.4715, allocations: 8 kB / 0.6885 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4715, allocations: 0 / 0.6885 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004475/0.476, allocations: 1.047 MB / 0.6896 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.477, allocations: 155.7 kB / 0.6897 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.4886, allocations: 4.979 MB / 0.6946 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.49, allocations: 111.4 kB / 0.6947 GB, free: 6.672 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/0.4901, allocations: 35.98 kB / 0.6947 GB, free: 6.637 MB / 478.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.0005419/0.4907, allocations: 225.6 kB / 0.6949 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.4908, allocations: 79.48 kB / 0.695 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006534/0.4974, allocations: 1.932 MB / 0.6969 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.4974, allocations: 8 kB / 0.6969 GB, free: 4.367 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.4974, allocations: 4 kB / 0.6969 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.292e-05/0.4974, allocations: 7.984 kB / 0.6969 GB, free: 4.355 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 postOpt removeSimpleEquations (simulation): time 0.009314/0.5068, allocations: 2.995 MB / 0.6998 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.5068, allocations: 7.938 kB / 0.6998 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/0.5073, allocations: 63.91 kB / 0.6999 GB, free: 1.203 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003491/0.5108, allocations: 0.9279 MB / 0.7008 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.5109, allocations: 15.98 kB / 0.7008 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008867/0.5198, allocations: 4.005 MB / 0.7047 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5198, allocations: 0 / 0.7047 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007585/0.5274, allocations: 2.506 MB / 0.7072 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.5278, allocations: 111.3 kB / 0.7073 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.528, allocations: 12 kB / 0.7073 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000813/0.5288, allocations: 51.94 kB / 0.7073 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003793/0.5292, allocations: 124.3 kB / 0.7075 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.5292, allocations: 16 kB / 0.7075 GB, free: 9.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007437/0.5299, allocations: 0.5186 MB / 0.708 GB, free: 8.781 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5299, allocations: 0 / 0.708 GB, free: 8.781 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009947/0.5309, allocations: 295.8 kB / 0.7083 GB, free: 8.492 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.0002673/0.5312, allocations: 127.1 kB / 0.7084 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004592/0.5358, allocations: 1.497 MB / 0.7098 GB, free: 6.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5358, allocations: 0 / 0.7098 GB, free: 6.844 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00284/0.5386, allocations: 0.8898 MB / 0.7107 GB, free: 5.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007867/0.5394, allocations: 62.94 kB / 0.7108 GB, free: 5.879 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/0.5425, allocations: 1.569 MB / 0.7123 GB, free: 4.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.543, allocations: 0.946 MB / 0.7132 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/0.5433, allocations: 51.44 kB / 0.7133 GB, free: 3.242 MB / 494.1 MB Notification: Performance of SimCode: time 1.422e-06/0.5433, allocations: 0 / 0.7133 GB, free: 3.242 MB / 494.1 MB Notification: Performance of Templates: time 0.03018/0.5735, allocations: 20.57 MB / 0.7334 GB, free: 14.65 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile [Timeout 660] (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 & ./OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.483280775835738] Failed to read output from testmodel.py, exit status != 0: 0.5841130518820137 0.598364727 0.195792928 Calling exit ...