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.07691/0.07691, allocations: 12.58 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.00102/0.00102, allocations: 111.4 kB / 31.84 MB, free: 3.906 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.271/1.271, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001452/0.001452, allocations: 180.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4282/0.4282, allocations: 78.51 MB / 419.3 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.002494/0.002494, allocations: 141.8 kB / 0.5558 GB, free: 28.4 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1123, allocations: 68.12 MB / 0.6224 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.005262/0.1176, allocations: 4.955 MB / 0.6272 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.1204, allocations: 1.565 MB / 0.6287 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003564/0.1208, allocations: 8 kB / 0.6287 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.1212, allocations: 162.6 kB / 0.6289 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.001443/0.1227, allocations: 0.6409 MB / 0.6295 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.1235, allocations: 418.9 kB / 0.6299 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.1246, allocations: 1.078 MB / 0.631 GB, free: 6.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.125, allocations: 229.8 kB / 0.6312 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.1255, allocations: 446.2 kB / 0.6316 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005862/0.1261, allocations: 0.5563 MB / 0.6322 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.1262, allocations: 100 kB / 0.6323 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.1267, allocations: 227.9 kB / 0.6325 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.1269, allocations: 231.1 kB / 0.6327 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.1272, allocations: 477.4 kB / 0.6332 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.1285, allocations: 1.257 MB / 0.6344 GB, free: 3.078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1285, allocations: 0 / 0.6344 GB, free: 3.078 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1285, allocations: 4 kB / 0.6344 GB, free: 3.074 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.1285, allocations: 4 kB / 0.6344 GB, free: 3.07 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.005152/0.1337, allocations: 1.772 MB / 0.6361 GB, free: 1.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1338, allocations: 15.98 kB / 0.6361 GB, free: 1.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.1371, allocations: 0.5386 MB / 0.6367 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009322/0.1381, allocations: 0.6438 MB / 0.6373 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.1383, allocations: 142 kB / 0.6374 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.1384, allocations: 56 kB / 0.6375 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.1398, allocations: 0.6583 MB / 0.6381 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1398, allocations: 0 / 0.6381 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.222e-05/0.1399, allocations: 20 kB / 0.6381 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.1399, allocations: 12 kB / 0.6382 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.1412, allocations: 0.6363 MB / 0.6388 GB, free: 14.46 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.004435/0.1456, allocations: 2.628 MB / 0.6413 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/0.1577, allocations: 2.801 MB / 0.6441 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.1588, allocations: 453.1 kB / 0.6445 GB, free: 8.426 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-05/0.1589, allocations: 16.48 kB / 0.6445 GB, free: 8.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.1589, allocations: 39.12 kB / 0.6446 GB, free: 8.363 MB / 462.1 MB Notification: Performance of pre-optimization done (n=57): time 2.876e-06/0.1589, allocations: 0 / 0.6446 GB, free: 8.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.01251/0.1714, allocations: 3.535 MB / 0.648 GB, free: 4.754 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1715, allocations: 55.97 kB / 0.6481 GB, free: 4.688 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.1726, allocations: 0.7662 MB / 0.6488 GB, free: 3.914 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-05/0.1727, allocations: 33.7 kB / 0.6488 GB, free: 3.875 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.173, allocations: 361.1 kB / 0.6492 GB, free: 3.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.1732, allocations: 222.1 kB / 0.6494 GB, free: 3.301 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003325/0.1735, allocations: 170.6 kB / 0.6496 GB, free: 3.129 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1737, allocations: 394.7 kB / 0.6499 GB, free: 2.734 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.1747, allocations: 0.4939 MB / 0.6504 GB, free: 2.238 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.1758, allocations: 0.5953 MB / 0.651 GB, free: 1.621 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0154/0.1912, allocations: 3.56 MB / 0.6545 GB, free: 14.03 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.1912, allocations: 0 / 0.6545 GB, free: 14.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007325/0.1985, allocations: 2.396 MB / 0.6568 GB, free: 11.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.1986, allocations: 8 kB / 0.6568 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1986, allocations: 7.938 kB / 0.6568 GB, free: 11.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00422/0.2029, allocations: 1.048 MB / 0.6579 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000796/0.2037, allocations: 147.8 kB / 0.658 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.2143, allocations: 5.078 MB / 0.663 GB, free: 5.176 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.2155, allocations: 115.5 kB / 0.6631 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.515e-05/0.2156, allocations: 31.98 kB / 0.6631 GB, free: 5.031 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.0004014/0.216, allocations: 207.3 kB / 0.6633 GB, free: 4.82 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.2162, allocations: 95.42 kB / 0.6634 GB, free: 4.727 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005874/0.2221, allocations: 1.949 MB / 0.6653 GB, free: 2.758 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.2221, allocations: 4 kB / 0.6653 GB, free: 2.754 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2221, allocations: 4 kB / 0.6653 GB, free: 2.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2221, allocations: 0 / 0.6653 GB, free: 2.75 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.007066/0.2292, allocations: 3.041 MB / 0.6683 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.2292, allocations: 3.938 kB / 0.6683 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.2297, allocations: 63.91 kB / 0.6683 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/0.2329, allocations: 0.939 MB / 0.6693 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.305e-05/0.233, allocations: 12 kB / 0.6693 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008111/0.2411, allocations: 4.107 MB / 0.6733 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2412, allocations: 4 kB / 0.6733 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006855/0.248, allocations: 2.512 MB / 0.6757 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.2484, allocations: 188.4 kB / 0.6759 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.2485, allocations: 15.94 kB / 0.6759 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.2492, allocations: 51.94 kB / 0.676 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003497/0.2496, allocations: 116.4 kB / 0.6761 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.224e-05/0.2496, allocations: 19.98 kB / 0.6761 GB, free: 7.402 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006499/0.2503, allocations: 0.5185 MB / 0.6766 GB, free: 6.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2503, allocations: 0 / 0.6766 GB, free: 6.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008744/0.2512, allocations: 311.7 kB / 0.6769 GB, free: 6.582 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.0002176/0.2514, allocations: 115.3 kB / 0.677 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004185/0.2556, allocations: 1.749 MB / 0.6787 GB, free: 4.648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.2556, allocations: 4.438 kB / 0.6787 GB, free: 4.645 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002637/0.2583, allocations: 1.079 MB / 0.6798 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.2589, allocations: 66.47 kB / 0.6798 GB, free: 3.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.2613, allocations: 1.535 MB / 0.6813 GB, free: 1.883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/0.2618, allocations: 0.9421 MB / 0.6823 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.262, allocations: 65.14 kB / 0.6823 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.2622, allocations: 43.44 kB / 0.6824 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2622, allocations: 0 / 0.6824 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of Templates: time 0.02219/0.2844, allocations: 14.47 MB / 0.6965 GB, free: 2.328 MB / 0.4981 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)