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.09155/0.09155, allocations: 12.59 MB / 28.22 MB, free: 0.7734 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.00136/0.00136, allocations: 111.4 kB / 31.84 MB, free: 3.895 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.341/1.341, allocations: 205.1 MB / 240.4 MB, free: 12.39 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.001363/0.001364, allocations: 187.2 kB / 290.7 MB, free: 10.96 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4323/0.4323, allocations: 78.5 MB / 419.3 MB, free: 10.79 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.002615/0.002615, allocations: 139.8 kB / 0.5559 GB, free: 17.31 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1263, allocations: 68.12 MB / 0.6224 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.006071/0.1325, allocations: 4.956 MB / 0.6272 GB, free: 8.188 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003414/0.1359, allocations: 1.557 MB / 0.6287 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.1365, allocations: 8 kB / 0.6287 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004443/0.137, allocations: 166.6 kB / 0.6289 GB, free: 6.449 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.00151/0.1385, allocations: 0.6837 MB / 0.6296 GB, free: 5.766 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007986/0.1393, allocations: 410.8 kB / 0.63 GB, free: 5.367 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1404, allocations: 1.082 MB / 0.631 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/0.1407, allocations: 221.9 kB / 0.6312 GB, free: 4.047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004584/0.1412, allocations: 450.2 kB / 0.6317 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005879/0.1418, allocations: 0.5563 MB / 0.6322 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.1419, allocations: 96 kB / 0.6323 GB, free: 2.953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003838/0.1423, allocations: 231.9 kB / 0.6325 GB, free: 2.727 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1425, allocations: 235.1 kB / 0.6327 GB, free: 2.496 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003527/0.1428, allocations: 473.4 kB / 0.6332 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.1439, allocations: 1.25 MB / 0.6344 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1439, allocations: 0 / 0.6344 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1439, allocations: 0 / 0.6344 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.1439, allocations: 0 / 0.6344 GB, free: 0.7773 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.005151/0.1491, allocations: 1.76 MB / 0.6361 GB, free: 14.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1491, allocations: 11.98 kB / 0.6361 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/0.1525, allocations: 0.5186 MB / 0.6367 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008462/0.1534, allocations: 0.6392 MB / 0.6373 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.1536, allocations: 150 kB / 0.6374 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.1537, allocations: 55.94 kB / 0.6375 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.155, allocations: 0.6545 MB / 0.6381 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1551, allocations: 0 / 0.6381 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.496e-05/0.1551, allocations: 20 kB / 0.6381 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1552, allocations: 15.94 kB / 0.6381 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.1564, allocations: 0.6324 MB / 0.6388 GB, free: 12.2 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.0043/0.1607, allocations: 2.631 MB / 0.6413 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.1736, allocations: 2.805 MB / 0.6441 GB, free: 6.602 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009884/0.1746, allocations: 454.2 kB / 0.6445 GB, free: 6.156 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.191e-05/0.1747, allocations: 16.53 kB / 0.6445 GB, free: 6.141 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1747, allocations: 39.12 kB / 0.6446 GB, free: 6.094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.194e-06/0.1747, allocations: 0 / 0.6446 GB, free: 6.094 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.01299/0.1877, allocations: 3.531 MB / 0.648 GB, free: 2.488 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1878, allocations: 55.97 kB / 0.6481 GB, free: 2.422 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.1888, allocations: 0.7584 MB / 0.6488 GB, free: 1.656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.302e-05/0.1889, allocations: 37.7 kB / 0.6488 GB, free: 1.613 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.1892, allocations: 352.6 kB / 0.6492 GB, free: 1.266 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.1894, allocations: 213 kB / 0.6494 GB, free: 1.055 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.1897, allocations: 174.4 kB / 0.6495 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1898, allocations: 402.7 kB / 0.6499 GB, free: 488 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.1909, allocations: 0.49 MB / 0.6504 GB, free: 15.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.1919, allocations: 0.5953 MB / 0.651 GB, free: 15.37 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/0.2075, allocations: 3.549 MB / 0.6545 GB, free: 11.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2075, allocations: 0 / 0.6545 GB, free: 11.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00732/0.2148, allocations: 2.395 MB / 0.6568 GB, free: 9.375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.2149, allocations: 4 kB / 0.6568 GB, free: 9.371 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.2149, allocations: 4 kB / 0.6568 GB, free: 9.367 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004345/0.2193, allocations: 1.052 MB / 0.6578 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/0.2201, allocations: 151.7 kB / 0.658 GB, free: 8.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.2311, allocations: 5.073 MB / 0.6629 GB, free: 2.938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.2324, allocations: 111.2 kB / 0.663 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.2325, allocations: 28 kB / 0.6631 GB, free: 2.801 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.0004995/0.233, allocations: 219.1 kB / 0.6633 GB, free: 2.578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.2332, allocations: 79.06 kB / 0.6633 GB, free: 2.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006141/0.2394, allocations: 1.937 MB / 0.6652 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.2394, allocations: 8 kB / 0.6652 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.2394, allocations: 4 kB / 0.6652 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.2394, allocations: 3.984 kB / 0.6652 GB, free: 0.5273 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.007528/0.247, allocations: 3.037 MB / 0.6682 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.247, allocations: 3.938 kB / 0.6682 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/0.2475, allocations: 71.91 kB / 0.6683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003425/0.2509, allocations: 0.9469 MB / 0.6692 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.606e-05/0.251, allocations: 16 kB / 0.6692 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008552/0.2596, allocations: 4.103 MB / 0.6732 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2596, allocations: 0 / 0.6732 GB, free: 8.109 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007204/0.2668, allocations: 2.515 MB / 0.6757 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.2672, allocations: 180 kB / 0.6759 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.2674, allocations: 12 kB / 0.6759 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/0.2682, allocations: 55.88 kB / 0.6759 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/0.2685, allocations: 120.3 kB / 0.676 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.2686, allocations: 12 kB / 0.6761 GB, free: 5.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007817/0.2694, allocations: 0.5264 MB / 0.6766 GB, free: 4.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2694, allocations: 0 / 0.6766 GB, free: 4.656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001116/0.2705, allocations: 303.7 kB / 0.6769 GB, free: 4.359 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.0002624/0.2708, allocations: 115.2 kB / 0.677 GB, free: 4.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004528/0.2753, allocations: 1.742 MB / 0.6787 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2753, allocations: 0 / 0.6787 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.2781, allocations: 1.072 MB / 0.6797 GB, free: 1.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.2787, allocations: 62.94 kB / 0.6798 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2595/0.5382, allocations: 1.502 MB / 0.6812 GB, free: 55.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.5386, allocations: 0.9423 MB / 0.6822 GB, free: 55.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000395/0.539, allocations: 67.16 kB / 0.6822 GB, free: 55.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.5393, allocations: 47.88 kB / 0.6823 GB, free: 55.03 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5393, allocations: 0 / 0.6823 GB, free: 55.03 MB / 494.1 MB Notification: Performance of Templates: time 0.02595/0.5652, allocations: 14.47 MB / 0.6964 GB, free: 52.12 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)