Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 112.9 kB / 16.42 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.1 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 191.3 kB / 290.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5127/0.5127, allocations: 91.9 MB / 432.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 84.03 kB / 0.5734 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1063, allocations: 71.29 MB / 0.643 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2): time 0.006645/0.1129, allocations: 5.527 MB / 0.6484 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004197/0.1172, allocations: 1.79 MB / 0.6501 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006337/0.1178, allocations: 11.94 kB / 0.6502 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.1184, allocations: 186.4 kB / 0.6503 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.1203, allocations: 0.7188 MB / 0.651 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.1216, allocations: 0.5001 MB / 0.6515 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.1231, allocations: 1.269 MB / 0.6528 GB, free: 9.598 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004328/0.1236, allocations: 262.5 kB / 0.653 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007253/0.1243, allocations: 0.5097 MB / 0.6535 GB, free: 8.816 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008894/0.1252, allocations: 0.6457 MB / 0.6541 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002609/0.1255, allocations: 119.9 kB / 0.6543 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005581/0.1261, allocations: 255.9 kB / 0.6545 GB, free: 7.801 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.1263, allocations: 278.9 kB / 0.6548 GB, free: 7.527 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005794/0.1269, allocations: 0.5323 MB / 0.6553 GB, free: 6.992 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.1286, allocations: 1.546 MB / 0.6568 GB, free: 5.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1286, allocations: 8 kB / 0.6568 GB, free: 5.434 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1286, allocations: 0 / 0.6568 GB, free: 5.434 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.476e-05/0.1287, allocations: 0 / 0.6568 GB, free: 5.434 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.006363/0.135, allocations: 1.924 MB / 0.6587 GB, free: 3.457 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1351, allocations: 8.031 kB / 0.6587 GB, free: 3.449 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.1387, allocations: 0.5343 MB / 0.6592 GB, free: 2.914 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.14, allocations: 0.7287 MB / 0.6599 GB, free: 2.145 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.1402, allocations: 235.5 kB / 0.6602 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.1403, allocations: 64 kB / 0.6602 GB, free: 1.812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.142, allocations: 0.8501 MB / 0.661 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.142, allocations: 0 / 0.661 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.04e-05/0.1421, allocations: 28 kB / 0.6611 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.1421, allocations: 19.98 kB / 0.6611 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.1436, allocations: 0.7157 MB / 0.6618 GB, free: 192 kB / 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.005912/0.1496, allocations: 3.348 MB / 0.6651 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008043/0.1576, allocations: 1.954 MB / 0.667 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009386/0.1586, allocations: 486.5 kB / 0.6674 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-05/0.1587, allocations: 12.64 kB / 0.6674 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1587, allocations: 39.22 kB / 0.6675 GB, free: 10.13 MB / 478.1 MB Notification: Performance of pre-optimization done (n=72): time 2.836e-06/0.1587, allocations: 4 kB / 0.6675 GB, free: 10.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=72): time 0.0118/0.1705, allocations: 3.351 MB / 0.6708 GB, free: 6.699 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1706, allocations: 89.75 kB / 0.6708 GB, free: 6.594 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.1716, allocations: 0.7938 MB / 0.6716 GB, free: 5.785 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.642e-05/0.1717, allocations: 37.7 kB / 0.6717 GB, free: 5.742 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.172, allocations: 408.3 kB / 0.672 GB, free: 5.336 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.1723, allocations: 268.2 kB / 0.6723 GB, free: 5.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003569/0.1726, allocations: 194.8 kB / 0.6725 GB, free: 4.875 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1727, allocations: 345.9 kB / 0.6728 GB, free: 4.531 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.1738, allocations: 0.5486 MB / 0.6733 GB, free: 3.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.175, allocations: 0.6452 MB / 0.674 GB, free: 3.309 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01842/0.1934, allocations: 3.961 MB / 0.6778 GB, free: 15.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1934, allocations: 7.938 kB / 0.6779 GB, free: 15.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006751/0.2002, allocations: 2.352 MB / 0.6801 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2002, allocations: 9.25 kB / 0.6802 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.2003, allocations: 0 / 0.6802 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0042/0.2045, allocations: 1.017 MB / 0.6812 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.2054, allocations: 171.8 kB / 0.6813 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009598/0.215, allocations: 4.868 MB / 0.6861 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.2162, allocations: 119 kB / 0.6862 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.2163, allocations: 39.98 kB / 0.6862 GB, free: 6.566 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.001382/0.2177, allocations: 0.69 MB / 0.6869 GB, free: 5.875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001108/0.2188, allocations: 0.6413 MB / 0.6875 GB, free: 5.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01804/0.2369, allocations: 3.929 MB / 0.6914 GB, free: 1.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.561e-06/0.2369, allocations: 4 kB / 0.6914 GB, free: 1.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.006695/0.2436, allocations: 2.336 MB / 0.6936 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2436, allocations: 4 kB / 0.6936 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2437, allocations: 0 / 0.6936 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004116/0.2478, allocations: 1.005 MB / 0.6946 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/0.2486, allocations: 159.8 kB / 0.6948 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009436/0.2581, allocations: 4.873 MB / 0.6995 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.2593, allocations: 111.1 kB / 0.6996 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/0.2594, allocations: 35.98 kB / 0.6997 GB, free: 8.555 MB / 0.4981 GB 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.0003337/0.2597, allocations: 232.2 kB / 0.6999 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.2599, allocations: 86.88 kB / 0.7 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/0.2655, allocations: 1.894 MB / 0.7018 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.2655, allocations: 3.984 kB / 0.7018 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2655, allocations: 3.938 kB / 0.7018 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.2657, allocations: 183.8 kB / 0.702 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.2659, allocations: 16 kB / 0.702 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007897/0.2667, allocations: 55.94 kB / 0.7021 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003777/0.2671, allocations: 168.4 kB / 0.7022 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004711/0.2718, allocations: 1.456 MB / 0.7037 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002894/0.2747, allocations: 1.587 MB / 0.7052 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008278/0.2755, allocations: 409 kB / 0.7056 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006765/0.2762, allocations: 0.5342 MB / 0.7061 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of Backend: time 4.3e-07/0.2762, allocations: 0 / 0.7061 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007754/0.284, allocations: 3.004 MB / 0.7091 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002792/0.2868, allocations: 2.349 MB / 0.7114 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of Templates: time 0.03548/0.3223, allocations: 23.85 MB / 0.7346 GB, free: 4.543 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network2.pipe 2>&1)