Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08103/0.08103, allocations: 12.61 MB / 28.91 MB, free: 0.6289 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 115.4 kB / 32.51 MB, free: 3.57 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 196.5 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4487/0.4487, allocations: 78.5 MB / 420 MB, free: 11.28 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004108/0.004108, allocations: 140 kB / 0.5565 GB, free: 28.53 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1116, allocations: 68.13 MB / 0.623 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006113/0.1177, allocations: 4.96 MB / 0.6279 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002951/0.1206, allocations: 1.572 MB / 0.6294 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.1209, allocations: 8 kB / 0.6294 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.1213, allocations: 166.6 kB / 0.6296 GB, free: 8.711 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001502/0.1228, allocations: 0.6798 MB / 0.6303 GB, free: 8.031 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/0.1237, allocations: 414.8 kB / 0.6307 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.1249, allocations: 1.09 MB / 0.6317 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002978/0.1252, allocations: 150 kB / 0.6319 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006047/0.1258, allocations: 450.2 kB / 0.6323 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006851/0.1265, allocations: 0.5524 MB / 0.6328 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.1266, allocations: 100 kB / 0.6329 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.127, allocations: 223.9 kB / 0.6331 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.1272, allocations: 243 kB / 0.6334 GB, free: 4.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.1277, allocations: 473.4 kB / 0.6338 GB, free: 4.355 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.1291, allocations: 1.257 MB / 0.635 GB, free: 3.094 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1291, allocations: 4 kB / 0.6351 GB, free: 3.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1291, allocations: 0 / 0.6351 GB, free: 3.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1291, allocations: 0 / 0.6351 GB, free: 3.09 MB / 446.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.005726/0.1348, allocations: 1.78 MB / 0.6368 GB, free: 1.258 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1348, allocations: 19.92 kB / 0.6368 GB, free: 1.238 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003634/0.1385, allocations: 0.523 MB / 0.6373 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.1395, allocations: 0.6438 MB / 0.6379 GB, free: 28 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.1397, allocations: 146 kB / 0.6381 GB, free: 15.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.1398, allocations: 55.94 kB / 0.6381 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.1413, allocations: 0.6584 MB / 0.6388 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1413, allocations: 0 / 0.6388 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/0.1414, allocations: 20 kB / 0.6388 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.1414, allocations: 12 kB / 0.6388 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.1428, allocations: 0.6324 MB / 0.6394 GB, free: 14.48 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.004971/0.1478, allocations: 2.628 MB / 0.642 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/0.1612, allocations: 2.758 MB / 0.6447 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.1622, allocations: 406.3 kB / 0.6451 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.602e-05/0.1623, allocations: 16.53 kB / 0.6451 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1623, allocations: 35.12 kB / 0.6451 GB, free: 8.477 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.184e-06/0.1623, allocations: 4 kB / 0.6451 GB, free: 8.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.01386/0.1762, allocations: 3.516 MB / 0.6486 GB, free: 4.883 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.1762, allocations: 63.97 kB / 0.6486 GB, free: 4.809 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.1774, allocations: 0.7623 MB / 0.6494 GB, free: 4.039 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.87e-05/0.1775, allocations: 37.7 kB / 0.6494 GB, free: 3.996 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.1778, allocations: 357.1 kB / 0.6497 GB, free: 3.645 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.178, allocations: 222.1 kB / 0.65 GB, free: 3.426 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003611/0.1784, allocations: 170.6 kB / 0.6501 GB, free: 3.254 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.1786, allocations: 398.7 kB / 0.6505 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.1797, allocations: 0.4939 MB / 0.651 GB, free: 2.359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.181, allocations: 0.5952 MB / 0.6516 GB, free: 1.742 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01675/0.1977, allocations: 3.556 MB / 0.655 GB, free: 14.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.1977, allocations: 0 / 0.655 GB, free: 14.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.008035/0.2057, allocations: 2.388 MB / 0.6574 GB, free: 11.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.2058, allocations: 4 kB / 0.6574 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.2058, allocations: 8 kB / 0.6574 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004652/0.2104, allocations: 1.044 MB / 0.6584 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/0.2113, allocations: 155.7 kB / 0.6586 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.2233, allocations: 5.078 MB / 0.6635 GB, free: 5.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.2246, allocations: 111.5 kB / 0.6636 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/0.2247, allocations: 32 kB / 0.6636 GB, free: 5.168 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.0004673/0.2251, allocations: 215.2 kB / 0.6639 GB, free: 4.949 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.2253, allocations: 83.44 kB / 0.6639 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006649/0.232, allocations: 1.937 MB / 0.6658 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.232, allocations: 4 kB / 0.6658 GB, free: 2.906 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.232, allocations: 4 kB / 0.6658 GB, free: 2.902 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.232, allocations: 3.984 kB / 0.6658 GB, free: 2.898 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.008128/0.2401, allocations: 3.029 MB / 0.6688 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/0.2401, allocations: 3.938 kB / 0.6688 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004892/0.2406, allocations: 63.89 kB / 0.6689 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003604/0.2442, allocations: 0.9359 MB / 0.6698 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/0.2443, allocations: 12 kB / 0.6698 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00926/0.2536, allocations: 4.119 MB / 0.6738 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2536, allocations: 0 / 0.6738 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007685/0.2613, allocations: 2.496 MB / 0.6762 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.2616, allocations: 188.4 kB / 0.6764 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.2617, allocations: 12 kB / 0.6764 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008044/0.2625, allocations: 55.88 kB / 0.6765 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003746/0.2629, allocations: 120.4 kB / 0.6766 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/0.2629, allocations: 15.94 kB / 0.6766 GB, free: 7.574 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007423/0.2637, allocations: 0.5186 MB / 0.6771 GB, free: 7.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2637, allocations: 0 / 0.6771 GB, free: 7.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009679/0.2646, allocations: 307.7 kB / 0.6774 GB, free: 6.758 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.0002447/0.2649, allocations: 115.7 kB / 0.6775 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004778/0.2697, allocations: 1.656 MB / 0.6791 GB, free: 4.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2697, allocations: 4.062 kB / 0.6791 GB, free: 4.914 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003038/0.2727, allocations: 1.033 MB / 0.6802 GB, free: 3.824 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.2733, allocations: 62.53 kB / 0.6802 GB, free: 3.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.2761, allocations: 1.535 MB / 0.6817 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/0.2767, allocations: 0.9421 MB / 0.6826 GB, free: 1.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002836/0.277, allocations: 69.12 kB / 0.6827 GB, free: 1.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.2772, allocations: 47.42 kB / 0.6827 GB, free: 1.113 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2772, allocations: 0 / 0.6827 GB, free: 1.113 MB / 494.1 MB Notification: Performance of Templates: time 0.02575/0.3029, allocations: 14.57 MB / 0.697 GB, free: 2.539 MB / 0.4981 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)