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.08872/0.08872, allocations: 12.6 MB / 28.9 MB, free: 0.6133 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.001148/0.001147, allocations: 111.5 kB / 32.51 MB, free: 3.551 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.525/1.525, 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.001761/0.001761, allocations: 184.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.4464/0.4464, allocations: 78.5 MB / 420 MB, free: 11.27 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.00262/0.002621, allocations: 138.9 kB / 0.5565 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1817, allocations: 68.12 MB / 0.623 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006707/0.1885, allocations: 4.96 MB / 0.6279 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.1915, allocations: 1.557 MB / 0.6294 GB, free: 8.902 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.1918, allocations: 12 kB / 0.6294 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.1922, allocations: 166.6 kB / 0.6296 GB, free: 8.727 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.001425/0.1936, allocations: 0.6441 MB / 0.6302 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007913/0.1944, allocations: 422.3 kB / 0.6306 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.1955, allocations: 1.078 MB / 0.6317 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003401/0.1958, allocations: 221.9 kB / 0.6319 GB, free: 6.355 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.1963, allocations: 450.1 kB / 0.6323 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.1969, allocations: 0.5563 MB / 0.6328 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1971, allocations: 100 kB / 0.6329 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.1975, allocations: 231.9 kB / 0.6332 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.1977, allocations: 227.1 kB / 0.6334 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.1981, allocations: 473.4 kB / 0.6338 GB, free: 4.344 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.1992, allocations: 1.25 MB / 0.635 GB, free: 3.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1993, allocations: 8 kB / 0.635 GB, free: 3.082 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1993, allocations: 0 / 0.635 GB, free: 3.082 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1993, allocations: 0 / 0.635 GB, free: 3.082 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.005093/0.2044, allocations: 1.753 MB / 0.6368 GB, free: 1.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2044, allocations: 19.98 kB / 0.6368 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.2076, allocations: 0.5148 MB / 0.6373 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008959/0.2085, allocations: 0.647 MB / 0.6379 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/0.2087, allocations: 134.2 kB / 0.638 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.2088, allocations: 59.94 kB / 0.6381 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2102, allocations: 0.6544 MB / 0.6387 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2102, allocations: 4 kB / 0.6387 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.2103, allocations: 20 kB / 0.6388 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2103, allocations: 8 kB / 0.6388 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.2115, allocations: 0.6363 MB / 0.6394 GB, free: 14.51 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.004268/0.2158, allocations: 2.627 MB / 0.642 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/0.2275, allocations: 2.805 MB / 0.6447 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2286, allocations: 457.1 kB / 0.6451 GB, free: 8.473 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.721e-05/0.2287, allocations: 12.5 kB / 0.6451 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2287, allocations: 39.12 kB / 0.6452 GB, free: 8.414 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.885e-06/0.2287, allocations: 4 kB / 0.6452 GB, free: 8.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.01221/0.2409, allocations: 3.523 MB / 0.6486 GB, free: 4.812 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.241, allocations: 63.97 kB / 0.6487 GB, free: 4.738 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.2424, allocations: 0.7584 MB / 0.6494 GB, free: 3.973 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-05/0.2425, allocations: 33.7 kB / 0.6495 GB, free: 3.934 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.2428, allocations: 356.6 kB / 0.6498 GB, free: 3.582 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.2431, allocations: 213 kB / 0.65 GB, free: 3.371 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004147/0.2435, allocations: 174.5 kB / 0.6502 GB, free: 3.195 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.2437, allocations: 402.6 kB / 0.6506 GB, free: 2.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.2448, allocations: 0.49 MB / 0.651 GB, free: 2.301 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.2459, allocations: 0.5953 MB / 0.6516 GB, free: 1.684 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/0.2608, allocations: 3.553 MB / 0.6551 GB, free: 14.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.2608, allocations: 4 kB / 0.6551 GB, free: 14.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007214/0.2681, allocations: 2.384 MB / 0.6574 GB, free: 11.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.2681, allocations: 12 kB / 0.6574 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2681, allocations: 0 / 0.6574 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004123/0.2723, allocations: 1.055 MB / 0.6585 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.273, allocations: 147.8 kB / 0.6586 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.2839, allocations: 5.074 MB / 0.6635 GB, free: 5.254 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.2851, allocations: 107.3 kB / 0.6637 GB, free: 5.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.2853, allocations: 31.98 kB / 0.6637 GB, free: 5.117 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.000536/0.2858, allocations: 223 kB / 0.6639 GB, free: 4.891 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.2861, allocations: 75.06 kB / 0.664 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005896/0.292, allocations: 1.941 MB / 0.6659 GB, free: 2.855 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.292, allocations: 4 kB / 0.6659 GB, free: 2.852 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.292, allocations: 8 kB / 0.6659 GB, free: 2.844 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.292, allocations: 3.984 kB / 0.6659 GB, free: 2.84 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.007276/0.2993, allocations: 3.041 MB / 0.6688 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.2993, allocations: 3.938 kB / 0.6689 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.2998, allocations: 63.91 kB / 0.6689 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003218/0.303, allocations: 0.9463 MB / 0.6698 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.3031, allocations: 12 kB / 0.6698 GB, free: 14.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008656/0.3118, allocations: 4.102 MB / 0.6739 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3118, allocations: 0 / 0.6739 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007024/0.3188, allocations: 2.519 MB / 0.6763 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.3192, allocations: 180 kB / 0.6765 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.3194, allocations: 12 kB / 0.6765 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008155/0.3202, allocations: 47.94 kB / 0.6765 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/0.3206, allocations: 116.4 kB / 0.6767 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-05/0.3207, allocations: 19.94 kB / 0.6767 GB, free: 7.504 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008684/0.3215, allocations: 0.5186 MB / 0.6772 GB, free: 6.988 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3215, allocations: 7.938 kB / 0.6772 GB, free: 6.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001188/0.3227, allocations: 303.7 kB / 0.6775 GB, free: 6.684 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.0003556/0.3231, allocations: 119.7 kB / 0.6776 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004832/0.3279, allocations: 1.734 MB / 0.6793 GB, free: 4.762 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.328, allocations: 4 kB / 0.6793 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002889/0.3309, allocations: 1.072 MB / 0.6803 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006776/0.3316, allocations: 63.12 kB / 0.6804 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.3351, allocations: 1.546 MB / 0.6819 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007643/0.3359, allocations: 0.9382 MB / 0.6828 GB, free: 1.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.3362, allocations: 55.42 kB / 0.6829 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3362, allocations: 0 / 0.6829 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of Templates: time 0.03275/0.3689, allocations: 20.4 MB / 0.7028 GB, free: 12.54 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)