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.08297/0.08297, allocations: 12.6 MB / 28.91 MB, free: 0.6328 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.001053/0.001053, allocations: 115.5 kB / 32.51 MB, free: 3.57 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.342/1.342, 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.001553/0.001553, allocations: 195.3 kB / 291.4 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.5624/0.5624, allocations: 78.51 MB / 420 MB, free: 11.26 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.00459/0.00459, allocations: 141.6 kB / 0.5565 GB, free: 28.52 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.108, allocations: 68.13 MB / 0.623 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.006203/0.1143, allocations: 5.563 MB / 0.6285 GB, free: 9.875 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1175, allocations: 1.763 MB / 0.6302 GB, free: 8.102 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006072/0.1181, allocations: 8 kB / 0.6302 GB, free: 8.094 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.1186, allocations: 190.3 kB / 0.6304 GB, free: 7.906 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.001617/0.1203, allocations: 0.7116 MB / 0.6311 GB, free: 7.191 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009708/0.1212, allocations: 0.5027 MB / 0.6316 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.1224, allocations: 1.277 MB / 0.6328 GB, free: 5.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.1227, allocations: 266.5 kB / 0.6331 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005091/0.1233, allocations: 0.5135 MB / 0.6336 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006445/0.1239, allocations: 0.6379 MB / 0.6342 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.1241, allocations: 120 kB / 0.6343 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.1245, allocations: 259.8 kB / 0.6346 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.1247, allocations: 267 kB / 0.6348 GB, free: 3.344 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.1251, allocations: 0.5439 MB / 0.6354 GB, free: 2.797 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.1264, allocations: 1.542 MB / 0.6369 GB, free: 1.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1264, allocations: 0 / 0.6369 GB, free: 1.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1264, allocations: 0 / 0.6369 GB, free: 1.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.1264, allocations: 0 / 0.6369 GB, free: 1.25 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.005555/0.132, allocations: 1.928 MB / 0.6387 GB, free: 15.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.132, allocations: 15.98 kB / 0.6388 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/0.1356, allocations: 0.5381 MB / 0.6393 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009928/0.1366, allocations: 0.7171 MB / 0.64 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.1368, allocations: 235.5 kB / 0.6402 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.137, allocations: 68 kB / 0.6403 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.1386, allocations: 0.8539 MB / 0.6411 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.1386, allocations: 4 kB / 0.6411 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.1387, allocations: 24 kB / 0.6411 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.1387, allocations: 16 kB / 0.6411 GB, free: 12.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1401, allocations: 0.7157 MB / 0.6418 GB, free: 11.99 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.005271/0.1454, allocations: 3.352 MB / 0.6451 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008228/0.1537, allocations: 1.963 MB / 0.647 GB, free: 6.465 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009821/0.1547, allocations: 482.6 kB / 0.6475 GB, free: 5.988 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.09e-05/0.1548, allocations: 8.656 kB / 0.6475 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1548, allocations: 43.22 kB / 0.6475 GB, free: 5.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=72): time 2.895e-06/0.1548, allocations: 0 / 0.6475 GB, free: 5.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=72): time 0.01215/0.1669, allocations: 3.355 MB / 0.6508 GB, free: 2.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.167, allocations: 89.75 kB / 0.6509 GB, free: 2.395 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.1681, allocations: 0.7977 MB / 0.6517 GB, free: 1.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.1682, allocations: 41.7 kB / 0.6517 GB, free: 1.543 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.1685, allocations: 408.3 kB / 0.6521 GB, free: 1.137 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.1688, allocations: 260.3 kB / 0.6524 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.1691, allocations: 198.8 kB / 0.6526 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1693, allocations: 345.9 kB / 0.6529 GB, free: 344 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.1704, allocations: 0.5449 MB / 0.6534 GB, free: 15.78 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.1716, allocations: 0.653 MB / 0.6541 GB, free: 15.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01909/0.1907, allocations: 3.964 MB / 0.6579 GB, free: 11.12 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.1907, allocations: 0 / 0.6579 GB, free: 11.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007069/0.1978, allocations: 2.364 MB / 0.6602 GB, free: 8.738 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.1978, allocations: 4 kB / 0.6602 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.1978, allocations: 4 kB / 0.6602 GB, free: 8.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004222/0.2021, allocations: 0.9951 MB / 0.6612 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009953/0.2031, allocations: 179.7 kB / 0.6614 GB, free: 7.551 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009888/0.213, allocations: 4.867 MB / 0.6661 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.2143, allocations: 111.1 kB / 0.6662 GB, free: 2.426 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.2144, allocations: 35.98 kB / 0.6663 GB, free: 2.391 MB / 478.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.001498/0.2159, allocations: 0.7012 MB / 0.667 GB, free: 1.691 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001161/0.2171, allocations: 0.6375 MB / 0.6676 GB, free: 1.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01917/0.2363, allocations: 3.926 MB / 0.6714 GB, free: 13.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/0.2363, allocations: 0 / 0.6714 GB, free: 13.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.007374/0.2437, allocations: 2.352 MB / 0.6737 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2438, allocations: 7.984 kB / 0.6737 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.2438, allocations: 0 / 0.6737 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004342/0.2481, allocations: 0.9936 MB / 0.6747 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009411/0.2491, allocations: 167.7 kB / 0.6749 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.2592, allocations: 4.883 MB / 0.6796 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.2605, allocations: 107.1 kB / 0.6797 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.2606, allocations: 35.98 kB / 0.6798 GB, free: 4.359 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.0003447/0.261, allocations: 236 kB / 0.68 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.2612, allocations: 86.88 kB / 0.6801 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005704/0.2669, allocations: 1.89 MB / 0.6819 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.2669, allocations: 3.984 kB / 0.6819 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2669, allocations: 3.938 kB / 0.6819 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.2672, allocations: 191.8 kB / 0.6821 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.2673, allocations: 12 kB / 0.6821 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/0.2682, allocations: 51.95 kB / 0.6822 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003872/0.2686, allocations: 168.4 kB / 0.6823 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004829/0.2734, allocations: 1.452 MB / 0.6837 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003012/0.2764, allocations: 1.591 MB / 0.6853 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008578/0.2773, allocations: 401.1 kB / 0.6857 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007217/0.278, allocations: 0.5419 MB / 0.6862 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of Backend: time 1.212e-06/0.278, allocations: 4 kB / 0.6862 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009024/0.2871, allocations: 3.005 MB / 0.6891 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003024/0.2901, allocations: 2.345 MB / 0.6914 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of Templates: time 0.03744/0.3276, allocations: 23.84 MB / 0.7147 GB, free: 332 kB / 0.5137 GB 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)