Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.36/1.36, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.00121/0.001209, allocations: 196.4 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5145/0.5145, allocations: 91.9 MB / 432.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 72.95 kB / 0.5734 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1056, allocations: 71.29 MB / 0.643 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.005854/0.1114, allocations: 5.246 MB / 0.6481 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.1145, allocations: 1.755 MB / 0.6498 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003308/0.1148, allocations: 4 kB / 0.6498 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003818/0.1152, allocations: 178.5 kB / 0.65 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.1167, allocations: 0.6914 MB / 0.6507 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.1176, allocations: 0.4952 MB / 0.6512 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.1189, allocations: 1.203 MB / 0.6523 GB, free: 10 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.1192, allocations: 242.3 kB / 0.6526 GB, free: 9.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005806/0.1198, allocations: 490.1 kB / 0.653 GB, free: 9.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007034/0.1205, allocations: 0.6068 MB / 0.6536 GB, free: 8.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.1207, allocations: 116 kB / 0.6537 GB, free: 8.547 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000454/0.1212, allocations: 251.9 kB / 0.654 GB, free: 8.301 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.1214, allocations: 251.1 kB / 0.6542 GB, free: 8.055 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.1218, allocations: 0.5129 MB / 0.6547 GB, free: 7.539 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.1232, allocations: 1.441 MB / 0.6561 GB, free: 6.094 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1232, allocations: 0 / 0.6561 GB, free: 6.094 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1233, allocations: 0 / 0.6561 GB, free: 6.094 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1233, allocations: 0 / 0.6561 GB, free: 6.094 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005954/0.1292, allocations: 1.85 MB / 0.6579 GB, free: 4.191 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1293, allocations: 8.031 kB / 0.6579 GB, free: 4.184 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/0.1329, allocations: 0.5305 MB / 0.6585 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.134, allocations: 0.6897 MB / 0.6591 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.1342, allocations: 138.4 kB / 0.6593 GB, free: 2.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.1344, allocations: 75.81 kB / 0.6593 GB, free: 2.695 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.136, allocations: 0.7798 MB / 0.6601 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.136, allocations: 0 / 0.6601 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.848e-05/0.1361, allocations: 28 kB / 0.6601 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1361, allocations: 12 kB / 0.6601 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.1375, allocations: 0.6882 MB / 0.6608 GB, free: 1.176 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.005223/0.1428, allocations: 2.886 MB / 0.6636 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01375/0.1565, allocations: 2.961 MB / 0.6665 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.1577, allocations: 494.3 kB / 0.667 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.486e-05/0.1578, allocations: 12.56 kB / 0.667 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.1578, allocations: 35.12 kB / 0.667 GB, free: 10.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=64): time 3.056e-06/0.1578, allocations: 4 kB / 0.667 GB, free: 10.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=64): time 0.01394/0.1718, allocations: 3.664 MB / 0.6706 GB, free: 6.863 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.1718, allocations: 89.66 kB / 0.6707 GB, free: 6.758 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.1729, allocations: 0.7899 MB / 0.6715 GB, free: 5.953 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.1731, allocations: 37.7 kB / 0.6715 GB, free: 5.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.1733, allocations: 376.5 kB / 0.6719 GB, free: 5.539 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.1736, allocations: 236.7 kB / 0.6721 GB, free: 5.305 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/0.1739, allocations: 186.5 kB / 0.6723 GB, free: 5.117 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1741, allocations: 345.9 kB / 0.6726 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.1753, allocations: 0.5552 MB / 0.6731 GB, free: 4.215 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.1765, allocations: 0.6539 MB / 0.6738 GB, free: 3.531 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01905/0.1955, allocations: 4.005 MB / 0.6777 GB, free: 15.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.1956, allocations: 4 kB / 0.6777 GB, free: 15.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007754/0.2034, allocations: 2.516 MB / 0.6802 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.2034, allocations: 4 kB / 0.6802 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.2034, allocations: 0 / 0.6802 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004326/0.2078, allocations: 1.05 MB / 0.6812 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009263/0.2087, allocations: 175.7 kB / 0.6814 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.2197, allocations: 5.069 MB / 0.6863 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.2209, allocations: 131.1 kB / 0.6864 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.221, allocations: 35.98 kB / 0.6865 GB, free: 6.352 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.001461/0.2225, allocations: 0.6971 MB / 0.6871 GB, free: 5.648 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001182/0.2237, allocations: 0.6422 MB / 0.6878 GB, free: 4.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01883/0.2425, allocations: 3.986 MB / 0.6917 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/0.2426, allocations: 3.938 kB / 0.6917 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.008127/0.2507, allocations: 2.481 MB / 0.6941 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2507, allocations: 13.08 kB / 0.6941 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2508, allocations: 0 / 0.6941 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004521/0.2553, allocations: 1.039 MB / 0.6951 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009407/0.2562, allocations: 167.7 kB / 0.6953 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.2677, allocations: 5.074 MB / 0.7002 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.2691, allocations: 111.2 kB / 0.7003 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/0.2692, allocations: 35.98 kB / 0.7004 GB, free: 7.887 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 101 * 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.000369/0.2696, allocations: 239.9 kB / 0.7006 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/0.2699, allocations: 82.97 kB / 0.7007 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006679/0.2765, allocations: 2.036 MB / 0.7027 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/0.2766, allocations: 3.984 kB / 0.7027 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2766, allocations: 0 / 0.7027 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.2769, allocations: 191.8 kB / 0.7029 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.2771, allocations: 12 kB / 0.7029 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008896/0.278, allocations: 59.92 kB / 0.7029 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004291/0.2785, allocations: 180.3 kB / 0.7031 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005252/0.2837, allocations: 1.5 MB / 0.7046 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003312/0.287, allocations: 1.604 MB / 0.7061 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009358/0.288, allocations: 412.2 kB / 0.7065 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007466/0.2888, allocations: 0.5342 MB / 0.707 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of Backend: time 3e-07/0.2888, allocations: 0 / 0.707 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008586/0.2974, allocations: 2.997 MB / 0.71 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002807/0.3002, allocations: 2.178 MB / 0.7121 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.03653/0.3367, allocations: 24.01 MB / 0.7355 GB, free: 3.66 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)