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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 3.0.1/package.mo", uses=false) 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=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 103 kB / 16.36 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001441/0.00144, allocations: 192.5 kB / 290.3 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4536/0.4536, allocations: 78.52 MB / 419 MB, free: 3.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 79.88 kB / 498.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1287, allocations: 68.18 MB / 0.5538 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.2391/0.3678, allocations: 4.899 MB / 0.5586 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.3702, allocations: 1.604 MB / 0.5601 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002345/0.3705, allocations: 8 kB / 0.5601 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.3708, allocations: 156.2 kB / 0.5603 GB, free: 36.4 MB / 430.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.00117/0.372, allocations: 0.6458 MB / 0.5609 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.3727, allocations: 415.9 kB / 0.5613 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008064/0.3735, allocations: 1.08 MB / 0.5624 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.3738, allocations: 213.4 kB / 0.5626 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.3742, allocations: 456.5 kB / 0.563 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004748/0.3747, allocations: 0.5549 MB / 0.5635 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3748, allocations: 97.22 kB / 0.5636 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.3751, allocations: 234.7 kB / 0.5639 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.3752, allocations: 232.2 kB / 0.5641 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.3755, allocations: 477.2 kB / 0.5645 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008548/0.3764, allocations: 1.256 MB / 0.5658 GB, free: 35.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3764, allocations: 4.594 kB / 0.5658 GB, free: 35.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3764, allocations: 0 / 0.5658 GB, free: 35.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3764, allocations: 0 / 0.5658 GB, free: 35.47 MB / 430.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.004627/0.3811, allocations: 1.741 MB / 0.5675 GB, free: 34.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3811, allocations: 9.531 kB / 0.5675 GB, free: 34.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.3842, allocations: 0.5245 MB / 0.568 GB, free: 34.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/0.385, allocations: 0.6438 MB / 0.5686 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.3851, allocations: 148.3 kB / 0.5688 GB, free: 34.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.3853, allocations: 51.06 kB / 0.5688 GB, free: 34.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.3864, allocations: 0.6581 MB / 0.5694 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3864, allocations: 0 / 0.5694 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.3864, allocations: 18.44 kB / 0.5695 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.3865, allocations: 16.28 kB / 0.5695 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.3875, allocations: 0.6318 MB / 0.5701 GB, free: 34.23 MB / 430.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.00374/0.3912, allocations: 2.613 MB / 0.5726 GB, free: 33.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.402, allocations: 2.828 MB / 0.5754 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006893/0.4027, allocations: 449 kB / 0.5758 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.001e-05/0.4028, allocations: 9.984 kB / 0.5758 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.4028, allocations: 40.8 kB / 0.5759 GB, free: 33.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.033e-06/0.4028, allocations: 0 / 0.5759 GB, free: 33.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.0108/0.4136, allocations: 3.526 MB / 0.5793 GB, free: 32.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.4137, allocations: 60.06 kB / 0.5794 GB, free: 32.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009435/0.4146, allocations: 0.7674 MB / 0.5801 GB, free: 32.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.4147, allocations: 36.17 kB / 0.5802 GB, free: 32.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.4149, allocations: 348.5 kB / 0.5805 GB, free: 31.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.415, allocations: 215.7 kB / 0.5807 GB, free: 31.69 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003191/0.4154, allocations: 172.1 kB / 0.5809 GB, free: 31.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4155, allocations: 398.5 kB / 0.5813 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009147/0.4164, allocations: 0.4933 MB / 0.5817 GB, free: 31.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009557/0.4174, allocations: 0.5923 MB / 0.5823 GB, free: 30.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/0.4313, allocations: 3.562 MB / 0.5858 GB, free: 29.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4313, allocations: 0 / 0.5858 GB, free: 29.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006595/0.4379, allocations: 2.392 MB / 0.5881 GB, free: 29.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.438, allocations: 6.469 kB / 0.5881 GB, free: 29.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.438, allocations: 1.406 kB / 0.5881 GB, free: 29.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003861/0.4419, allocations: 1.043 MB / 0.5892 GB, free: 28.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007079/0.4426, allocations: 150.1 kB / 0.5893 GB, free: 28.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009814/0.4524, allocations: 5.069 MB / 0.5942 GB, free: 25.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.4535, allocations: 108.3 kB / 0.5943 GB, free: 25.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/0.4536, allocations: 35.5 kB / 0.5944 GB, free: 25.91 MB / 430.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.0003998/0.454, allocations: 213.8 kB / 0.5946 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.4542, allocations: 80.91 kB / 0.5947 GB, free: 25.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/0.4598, allocations: 1.94 MB / 0.5966 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.4598, allocations: 7.328 kB / 0.5966 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4598, allocations: 4.531 kB / 0.5966 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.4599, allocations: 2.531 kB / 0.5966 GB, free: 25.11 MB / 430.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.007009/0.4669, allocations: 3.048 MB / 0.5995 GB, free: 23.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.4669, allocations: 4.547 kB / 0.5996 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.4674, allocations: 65.33 kB / 0.5996 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/0.4705, allocations: 0.9316 MB / 0.6005 GB, free: 23.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/0.4706, allocations: 13.34 kB / 0.6005 GB, free: 23.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007582/0.4782, allocations: 4.109 MB / 0.6046 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.4782, allocations: 1.125 kB / 0.6046 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00669/0.4849, allocations: 2.512 MB / 0.607 GB, free: 20.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.4853, allocations: 181.2 kB / 0.6072 GB, free: 20.15 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.4855, allocations: 12.92 kB / 0.6072 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/0.4862, allocations: 46.52 kB / 0.6072 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003613/0.4865, allocations: 129.5 kB / 0.6074 GB, free: 20.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.4866, allocations: 15.62 kB / 0.6074 GB, free: 20.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006706/0.4873, allocations: 0.5194 MB / 0.6079 GB, free: 19.86 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4873, allocations: 1.156 kB / 0.6079 GB, free: 19.86 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009877/0.4883, allocations: 294.9 kB / 0.6082 GB, free: 19.82 MB / 430.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.0002332/0.4885, allocations: 121.1 kB / 0.6083 GB, free: 19.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004115/0.4926, allocations: 1.743 MB / 0.61 GB, free: 18.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4927, allocations: 0 / 0.61 GB, free: 18.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002526/0.4952, allocations: 1.078 MB / 0.611 GB, free: 18.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.4958, allocations: 63.44 kB / 0.6111 GB, free: 18.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.4984, allocations: 1.497 MB / 0.6126 GB, free: 17.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.4987, allocations: 0.9508 MB / 0.6135 GB, free: 16.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.499, allocations: 67.52 kB / 0.6135 GB, free: 16.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.4992, allocations: 52.89 kB / 0.6136 GB, free: 16.41 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4992, allocations: 0 / 0.6136 GB, free: 16.41 MB / 430.1 MB Notification: Performance of Templates: time 0.01861/0.5178, allocations: 14.32 MB / 0.6276 GB, free: 2.695 MB / 430.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (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 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)