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.08599/0.08599, allocations: 12.6 MB / 28.9 MB, free: 0.6172 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.00106/0.00106, allocations: 111.5 kB / 32.5 MB, free: 3.555 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.489/1.489, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001496/0.001496, allocations: 180.5 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4352/0.4352, allocations: 78.51 MB / 420 MB, free: 11.25 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.002643/0.002643, allocations: 130.5 kB / 0.5565 GB, free: 28.67 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1536, allocations: 68.13 MB / 0.623 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006743/0.1604, allocations: 4.964 MB / 0.6279 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003734/0.1641, allocations: 1.565 MB / 0.6294 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008529/0.165, allocations: 4 kB / 0.6294 GB, free: 8.859 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006969/0.1658, allocations: 162.7 kB / 0.6296 GB, free: 8.699 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.002273/0.1681, allocations: 0.6369 MB / 0.6302 GB, free: 8.059 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.1692, allocations: 430.3 kB / 0.6306 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.1708, allocations: 1.086 MB / 0.6317 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000427/0.1713, allocations: 213.9 kB / 0.6319 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008153/0.1721, allocations: 446.2 kB / 0.6323 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009521/0.1731, allocations: 0.5602 MB / 0.6328 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003421/0.1734, allocations: 96 kB / 0.6329 GB, free: 5.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.1741, allocations: 239.8 kB / 0.6332 GB, free: 5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.1745, allocations: 227.1 kB / 0.6334 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007454/0.1753, allocations: 477.4 kB / 0.6338 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.1771, allocations: 1.25 MB / 0.6351 GB, free: 3.055 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1771, allocations: 0 / 0.6351 GB, free: 3.055 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1771, allocations: 0 / 0.6351 GB, free: 3.055 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.949e-05/0.1772, allocations: 0 / 0.6351 GB, free: 3.055 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.006034/0.1832, allocations: 1.753 MB / 0.6368 GB, free: 1.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1833, allocations: 15.97 kB / 0.6368 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003466/0.1867, allocations: 0.5186 MB / 0.6373 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.188, allocations: 0.647 MB / 0.6379 GB, free: 24 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.1883, allocations: 146 kB / 0.6381 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.1885, allocations: 52 kB / 0.6381 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.19, allocations: 0.6545 MB / 0.6387 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.19, allocations: 0 / 0.6387 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.1901, allocations: 20 kB / 0.6388 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.1901, allocations: 12 kB / 0.6388 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1916, allocations: 0.6363 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.005354/0.1969, allocations: 2.627 MB / 0.642 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.2093, allocations: 2.801 MB / 0.6447 GB, free: 8.891 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.2105, allocations: 461.2 kB / 0.6451 GB, free: 8.441 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.467e-05/0.2106, allocations: 8.562 kB / 0.6451 GB, free: 8.434 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.2106, allocations: 39.11 kB / 0.6452 GB, free: 8.387 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.024e-06/0.2106, allocations: 0 / 0.6452 GB, free: 8.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.01317/0.2238, allocations: 3.531 MB / 0.6486 GB, free: 4.781 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.2239, allocations: 55.97 kB / 0.6487 GB, free: 4.715 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.2252, allocations: 0.7623 MB / 0.6494 GB, free: 3.945 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.2254, allocations: 37.7 kB / 0.6495 GB, free: 3.902 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.2257, allocations: 364.5 kB / 0.6498 GB, free: 3.543 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.226, allocations: 209 kB / 0.65 GB, free: 3.336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.2264, allocations: 174.4 kB / 0.6502 GB, free: 3.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.2266, allocations: 398.7 kB / 0.6506 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.2277, allocations: 0.4939 MB / 0.651 GB, free: 2.266 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.2289, allocations: 0.5953 MB / 0.6516 GB, free: 1.648 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/0.2444, allocations: 3.549 MB / 0.6551 GB, free: 14.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.2445, allocations: 0 / 0.6551 GB, free: 14.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007743/0.2522, allocations: 2.392 MB / 0.6574 GB, free: 11.66 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.2523, allocations: 4 kB / 0.6574 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.2523, allocations: 4 kB / 0.6574 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004262/0.2566, allocations: 1.055 MB / 0.6585 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008693/0.2575, allocations: 147.8 kB / 0.6586 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.2686, allocations: 5.074 MB / 0.6636 GB, free: 5.223 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.2698, allocations: 107.3 kB / 0.6637 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.27, allocations: 35.98 kB / 0.6637 GB, free: 5.082 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.0006/0.2706, allocations: 219 kB / 0.6639 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.2709, allocations: 79.06 kB / 0.664 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006104/0.277, allocations: 1.941 MB / 0.6659 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.277, allocations: 12 kB / 0.6659 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.2771, allocations: 4 kB / 0.6659 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.2771, allocations: 3.984 kB / 0.6659 GB, free: 2.801 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.007499/0.2846, allocations: 3.029 MB / 0.6689 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.2846, allocations: 3.938 kB / 0.6689 GB, free: 15.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.285, allocations: 67.91 kB / 0.6689 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00331/0.2884, allocations: 0.9389 MB / 0.6698 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.2884, allocations: 12 kB / 0.6698 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008494/0.2969, allocations: 4.106 MB / 0.6739 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.297, allocations: 0 / 0.6739 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007112/0.3041, allocations: 2.515 MB / 0.6763 GB, free: 7.863 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.3044, allocations: 180 kB / 0.6765 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.3046, allocations: 15.94 kB / 0.6765 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/0.3055, allocations: 55.94 kB / 0.6766 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003337/0.3058, allocations: 116.4 kB / 0.6767 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.3059, allocations: 12 kB / 0.6767 GB, free: 7.473 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007955/0.3067, allocations: 0.5225 MB / 0.6772 GB, free: 6.953 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3067, allocations: 0 / 0.6772 GB, free: 6.953 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001139/0.3078, allocations: 303.7 kB / 0.6775 GB, free: 6.656 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.000298/0.3081, allocations: 123.7 kB / 0.6776 GB, free: 6.527 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004983/0.3131, allocations: 1.738 MB / 0.6793 GB, free: 4.727 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3131, allocations: 0 / 0.6793 GB, free: 4.727 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0031/0.3163, allocations: 1.076 MB / 0.6803 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009104/0.3172, allocations: 66.53 kB / 0.6804 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.3209, allocations: 1.527 MB / 0.6819 GB, free: 1.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008406/0.3217, allocations: 0.9498 MB / 0.6828 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003081/0.322, allocations: 55.42 kB / 0.6829 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of SimCode: time 1.242e-06/0.322, allocations: 0 / 0.6829 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of Templates: time 0.02649/0.3485, allocations: 20.47 MB / 0.7029 GB, free: 12.43 MB / 0.5137 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)