Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.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.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07927/0.07928, allocations: 12.6 MB / 28.91 MB, free: 0.5977 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.001037/0.001037, allocations: 107.5 kB / 32.51 MB, free: 3.531 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.39/1.39, allocations: 205.1 MB / 241.1 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.001407/0.001407, allocations: 184.5 kB / 291.4 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.4448/0.4448, allocations: 78.51 MB / 420 MB, free: 10.77 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.002527/0.002528, allocations: 137.7 kB / 0.5565 GB, free: 17.33 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1195, allocations: 68.13 MB / 0.6231 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.006007/0.1255, allocations: 5.567 MB / 0.6285 GB, free: 7.582 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.1291, allocations: 1.759 MB / 0.6302 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004809/0.1296, allocations: 8 kB / 0.6302 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.1301, allocations: 190.3 kB / 0.6304 GB, free: 5.617 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 twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001629/0.1317, allocations: 0.7148 MB / 0.6311 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009579/0.1327, allocations: 0.5066 MB / 0.6316 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.1339, allocations: 1.269 MB / 0.6328 GB, free: 3.121 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.1342, allocations: 274.5 kB / 0.6331 GB, free: 2.836 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005337/0.1348, allocations: 0.5097 MB / 0.6336 GB, free: 2.324 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006572/0.1354, allocations: 0.6418 MB / 0.6342 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.1356, allocations: 116 kB / 0.6343 GB, free: 1.566 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.1361, allocations: 263.8 kB / 0.6346 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.1363, allocations: 267 kB / 0.6348 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.1367, allocations: 0.5439 MB / 0.6354 GB, free: 0.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.1381, allocations: 1.545 MB / 0.6369 GB, free: 14.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1381, allocations: 0 / 0.6369 GB, free: 14.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1382, allocations: 4 kB / 0.6369 GB, free: 14.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.1382, allocations: 0 / 0.6369 GB, free: 14.95 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.005331/0.1435, allocations: 1.958 MB / 0.6388 GB, free: 12.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1436, allocations: 11.98 kB / 0.6388 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/0.1468, allocations: 0.5427 MB / 0.6393 GB, free: 12.38 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.1478, allocations: 0.7295 MB / 0.64 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.148, allocations: 239.5 kB / 0.6403 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.1482, allocations: 64 kB / 0.6403 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.1496, allocations: 0.8578 MB / 0.6412 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.1496, allocations: 0 / 0.6412 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.1497, allocations: 24 kB / 0.6412 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1497, allocations: 16 kB / 0.6412 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.1511, allocations: 0.7157 MB / 0.6419 GB, free: 9.645 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.005065/0.1562, allocations: 3.364 MB / 0.6452 GB, free: 6.109 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00731/0.1635, allocations: 1.948 MB / 0.6471 GB, free: 4.121 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008569/0.1644, allocations: 482.6 kB / 0.6476 GB, free: 3.645 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.594e-05/0.1645, allocations: 16.64 kB / 0.6476 GB, free: 3.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.1645, allocations: 39.22 kB / 0.6476 GB, free: 3.582 MB / 462.1 MB Notification: Performance of pre-optimization done (n=72): time 2.655e-06/0.1645, allocations: 0 / 0.6476 GB, free: 3.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=72): time 0.01123/0.1758, allocations: 3.363 MB / 0.6509 GB, free: 148 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1759, allocations: 85.77 kB / 0.651 GB, free: 44 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.1769, allocations: 0.7939 MB / 0.6517 GB, free: 15.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-05/0.177, allocations: 45.7 kB / 0.6518 GB, free: 15.19 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.1773, allocations: 409 kB / 0.6522 GB, free: 14.79 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.1776, allocations: 277.7 kB / 0.6524 GB, free: 14.51 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.178, allocations: 198.8 kB / 0.6526 GB, free: 14.31 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1781, allocations: 341.9 kB / 0.653 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.1791, allocations: 0.5448 MB / 0.6535 GB, free: 13.42 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.1802, allocations: 0.6569 MB / 0.6541 GB, free: 12.74 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01787/0.1981, allocations: 3.957 MB / 0.658 GB, free: 8.762 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.1982, allocations: 0 / 0.658 GB, free: 8.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006586/0.2048, allocations: 2.368 MB / 0.6603 GB, free: 6.375 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2048, allocations: 7.938 kB / 0.6603 GB, free: 6.367 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.2048, allocations: 4 kB / 0.6603 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004028/0.2089, allocations: 0.999 MB / 0.6613 GB, free: 5.355 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/0.2099, allocations: 175.7 kB / 0.6615 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009236/0.2191, allocations: 4.884 MB / 0.6662 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.2205, allocations: 119.3 kB / 0.6663 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.2206, allocations: 36.22 kB / 0.6664 GB, free: 15.99 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001334/0.2219, allocations: 0.6938 MB / 0.6671 GB, free: 15.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001062/0.223, allocations: 0.6414 MB / 0.6677 GB, free: 14.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01735/0.2403, allocations: 3.925 MB / 0.6715 GB, free: 10.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.652e-06/0.2404, allocations: 4 kB / 0.6715 GB, free: 10.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.006477/0.2469, allocations: 2.341 MB / 0.6738 GB, free: 8.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2469, allocations: 4 kB / 0.6738 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2469, allocations: 7.984 kB / 0.6738 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003945/0.2509, allocations: 1.001 MB / 0.6748 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/0.2517, allocations: 167.7 kB / 0.675 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009239/0.261, allocations: 4.884 MB / 0.6797 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.2623, allocations: 103.4 kB / 0.6798 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.2625, allocations: 35.98 kB / 0.6799 GB, free: 1.965 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (breaker2.Open,breaker1.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 103 * 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,17,54.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000417/0.2629, allocations: 240 kB / 0.6801 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.2631, allocations: 91.39 kB / 0.6802 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3069/0.57, allocations: 1.887 MB / 0.682 GB, free: 54.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.101e-05/0.5701, allocations: 9.047 kB / 0.682 GB, free: 54.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5701, allocations: 0 / 0.682 GB, free: 54.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.5705, allocations: 191.7 kB / 0.6822 GB, free: 54.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/0.5708, allocations: 17.58 kB / 0.6822 GB, free: 54.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007593/0.5715, allocations: 49.45 kB / 0.6823 GB, free: 54.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004171/0.572, allocations: 173.2 kB / 0.6824 GB, free: 54.55 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004637/0.5766, allocations: 1.449 MB / 0.6839 GB, free: 54.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003036/0.5797, allocations: 1.6 MB / 0.6854 GB, free: 54.2 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009021/0.5806, allocations: 397 kB / 0.6858 GB, free: 54.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008629/0.5814, allocations: 0.5417 MB / 0.6863 GB, free: 54.09 MB / 494.1 MB Notification: Performance of Backend: time 9.22e-07/0.5815, allocations: 1.75 kB / 0.6863 GB, free: 54.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008167/0.5896, allocations: 3.014 MB / 0.6893 GB, free: 52.64 MB / 494.1 MB Notification: Performance of SimCode: time 0.003897/0.5936, allocations: 2.379 MB / 0.6916 GB, free: 51.21 MB / 494.1 MB Notification: Performance of Templates: time 0.04092/0.6345, allocations: 23.85 MB / 0.7149 GB, free: 41.63 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)