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.09926/0.09926, allocations: 12.59 MB / 28.23 MB, free: 1.047 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.001144/0.001144, allocations: 115.4 kB / 31.84 MB, free: 3.988 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.439/1.439, allocations: 205.1 MB / 240.4 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.001365/0.001364, allocations: 187.4 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4369/0.4369, allocations: 78.5 MB / 419.3 MB, free: 10.76 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.002499/0.002499, allocations: 137.7 kB / 0.5559 GB, free: 17.31 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1498, allocations: 68.13 MB / 0.6224 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005604/0.1555, allocations: 4.955 MB / 0.6272 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.1584, allocations: 1.569 MB / 0.6288 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.1587, allocations: 4 kB / 0.6288 GB, free: 6.598 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.1592, allocations: 162.6 kB / 0.6289 GB, free: 6.438 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.001407/0.1606, allocations: 0.6707 MB / 0.6296 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.1614, allocations: 430.7 kB / 0.63 GB, free: 5.348 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.1624, allocations: 1.078 MB / 0.631 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.1627, allocations: 221.9 kB / 0.6312 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004611/0.1632, allocations: 454.2 kB / 0.6317 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006132/0.1638, allocations: 0.5485 MB / 0.6322 GB, free: 3.035 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001275/0.1639, allocations: 100 kB / 0.6323 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.1644, allocations: 231.9 kB / 0.6325 GB, free: 2.711 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.1646, allocations: 227.1 kB / 0.6327 GB, free: 2.488 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.1649, allocations: 477.4 kB / 0.6332 GB, free: 2.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.1662, allocations: 1.265 MB / 0.6344 GB, free: 0.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1662, allocations: 4 kB / 0.6344 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1662, allocations: 0 / 0.6344 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.1662, allocations: 0 / 0.6344 GB, free: 0.7461 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.004944/0.1712, allocations: 1.771 MB / 0.6362 GB, free: 14.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.1713, allocations: 15.98 kB / 0.6362 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/0.1744, allocations: 0.5308 MB / 0.6367 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008828/0.1753, allocations: 0.6477 MB / 0.6373 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.1755, allocations: 146 kB / 0.6375 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.1756, allocations: 52 kB / 0.6375 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.1769, allocations: 0.6622 MB / 0.6382 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.177, allocations: 0 / 0.6382 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/0.177, allocations: 16 kB / 0.6382 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.177, allocations: 16 kB / 0.6382 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.1782, allocations: 0.6324 MB / 0.6388 GB, free: 12.14 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.004207/0.1825, allocations: 2.628 MB / 0.6414 GB, free: 9.398 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.1938, allocations: 2.805 MB / 0.6441 GB, free: 6.543 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009147/0.1947, allocations: 446.3 kB / 0.6445 GB, free: 6.105 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.305e-05/0.1948, allocations: 8.547 kB / 0.6446 GB, free: 6.098 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1948, allocations: 47.06 kB / 0.6446 GB, free: 6.043 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/0.1948, allocations: 0 / 0.6446 GB, free: 6.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.01226/0.2071, allocations: 3.539 MB / 0.6481 GB, free: 2.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.2072, allocations: 63.91 kB / 0.6481 GB, free: 2.355 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.2086, allocations: 0.7584 MB / 0.6489 GB, free: 1.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-05/0.2087, allocations: 37.7 kB / 0.6489 GB, free: 1.547 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.209, allocations: 353.1 kB / 0.6492 GB, free: 1.199 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.2092, allocations: 230.1 kB / 0.6495 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/0.2096, allocations: 166.6 kB / 0.6496 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.2098, allocations: 398.7 kB / 0.65 GB, free: 416 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.2108, allocations: 0.494 MB / 0.6505 GB, free: 15.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.2119, allocations: 0.5914 MB / 0.651 GB, free: 15.29 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/0.2274, allocations: 3.56 MB / 0.6545 GB, free: 11.71 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.2274, allocations: 4 kB / 0.6545 GB, free: 11.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007576/0.235, allocations: 2.4 MB / 0.6569 GB, free: 9.285 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.235, allocations: 8 kB / 0.6569 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2351, allocations: 0 / 0.6569 GB, free: 9.277 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004105/0.2392, allocations: 1.04 MB / 0.6579 GB, free: 8.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008694/0.2401, allocations: 151.8 kB / 0.658 GB, free: 8.082 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.2505, allocations: 5.082 MB / 0.663 GB, free: 2.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.2518, allocations: 107.5 kB / 0.6631 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.252, allocations: 35.98 kB / 0.6631 GB, free: 2.711 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.0005584/0.2525, allocations: 227.1 kB / 0.6634 GB, free: 2.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.2528, allocations: 83.44 kB / 0.6634 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00583/0.2586, allocations: 1.949 MB / 0.6653 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.2586, allocations: 4 kB / 0.6653 GB, free: 432 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.2587, allocations: 4 kB / 0.6653 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.2587, allocations: 4 kB / 0.6654 GB, free: 424 kB / 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.007095/0.2658, allocations: 3.037 MB / 0.6683 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.2658, allocations: 3.938 kB / 0.6683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.2663, allocations: 63.91 kB / 0.6684 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003115/0.2694, allocations: 0.9315 MB / 0.6693 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.418e-05/0.2695, allocations: 12 kB / 0.6693 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008024/0.2775, allocations: 4.111 MB / 0.6733 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2775, allocations: 0 / 0.6733 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006769/0.2843, allocations: 2.523 MB / 0.6758 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.2847, allocations: 180.4 kB / 0.676 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.2848, allocations: 19.92 kB / 0.676 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007903/0.2856, allocations: 47.94 kB / 0.676 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/0.286, allocations: 120.4 kB / 0.6761 GB, free: 5.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.2861, allocations: 19.98 kB / 0.6762 GB, free: 5.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007287/0.2868, allocations: 0.5147 MB / 0.6767 GB, free: 4.559 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2868, allocations: 192 / 0.6767 GB, free: 4.559 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001027/0.2878, allocations: 307.7 kB / 0.6769 GB, free: 4.258 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.0002542/0.2881, allocations: 123.1 kB / 0.6771 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004294/0.2924, allocations: 1.749 MB / 0.6788 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.2924, allocations: 0 / 0.6788 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002545/0.295, allocations: 1.08 MB / 0.6798 GB, free: 1.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.2956, allocations: 62.94 kB / 0.6799 GB, free: 1.121 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2844/0.58, allocations: 1.521 MB / 0.6814 GB, free: 56.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.5806, allocations: 0.944 MB / 0.6823 GB, free: 55.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004172/0.581, allocations: 69.81 kB / 0.6824 GB, free: 55.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.5813, allocations: 51.95 kB / 0.6824 GB, free: 55.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5813, allocations: 0.5312 kB / 0.6824 GB, free: 55.3 MB / 494.1 MB Notification: Performance of Templates: time 0.02749/0.6088, allocations: 14.47 MB / 0.6965 GB, free: 52.3 MB / 494.1 MB 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)