Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003903/0.003903, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.127/1.127, allocations: 223.2 MB / 239 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008052/0.0008053, allocations: 97.48 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3849/0.3849, allocations: 79.43 MB / 420.8 MB, free: 43.76 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003237, allocations: 12 kB / 0.489 GB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2627, allocations: 69.5 MB / 0.5569 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1/0.3627, allocations: 100.1 MB / 0.6547 GB, free: 5.48 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.363, allocations: 85.8 kB / 0.6548 GB, free: 5.398 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05831/0.4213, allocations: 23.24 MB / 0.6774 GB, free: 14.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4213, allocations: 448 / 0.6774 GB, free: 14.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.254e-05/0.4214, allocations: 20 kB / 0.6775 GB, free: 14 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003835/0.4252, allocations: 1.534 MB / 0.679 GB, free: 12.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.4253, allocations: 11.97 kB / 0.679 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.4275, allocations: 398.4 kB / 0.6794 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.4286, allocations: 0.637 MB / 0.68 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.4288, allocations: 210.1 kB / 0.6802 GB, free: 11.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.429, allocations: 71.94 kB / 0.6802 GB, free: 11.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.4306, allocations: 0.8696 MB / 0.6811 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4306, allocations: 8 kB / 0.6811 GB, free: 10.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/0.4307, allocations: 27.98 kB / 0.6811 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.4307, allocations: 12 kB / 0.6811 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.4322, allocations: 0.7664 MB / 0.6819 GB, free: 9.328 MB / 490.7 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.00498/0.4372, allocations: 3.155 MB / 0.685 GB, free: 6.023 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01328/0.4505, allocations: 3.953 MB / 0.6888 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.999e-05/0.4506, allocations: 8.562 kB / 0.6888 GB, free: 2.008 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.4506, allocations: 39.12 kB / 0.6889 GB, free: 1.961 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 2.084e-06/0.4506, allocations: 0 / 0.6889 GB, free: 1.961 MB / 490.7 MB Notification: Performance of matching and sorting (n=69): time 0.01286/0.4635, allocations: 4.279 MB / 0.6931 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.4635, allocations: 89.67 kB / 0.6931 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009008/0.4645, allocations: 0.6838 MB / 0.6938 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/0.4645, allocations: 37.7 kB / 0.6938 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.4648, allocations: 404.5 kB / 0.6942 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.465, allocations: 244.3 kB / 0.6945 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.4651, allocations: 16 kB / 0.6945 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4652, allocations: 333.9 kB / 0.6948 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009304/0.4661, allocations: 489.8 kB / 0.6953 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000983/0.4671, allocations: 0.584 MB / 0.6958 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009623/0.4681, allocations: 0.5106 MB / 0.6963 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4681, allocations: 0 / 0.6963 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.007363/0.4755, allocations: 2.63 MB / 0.6989 GB, free: 7.523 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.4758, allocations: 0.7078 MB / 0.6996 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4758, allocations: 3.938 kB / 0.6996 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004722/0.4805, allocations: 1.286 MB / 0.7009 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.4811, allocations: 111.8 kB / 0.701 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.4929, allocations: 5.884 MB / 0.7067 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.4941, allocations: 127.3 kB / 0.7068 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.4942, allocations: 24 kB / 0.7069 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.4942, allocations: 8 kB / 0.7069 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007224/0.5014, allocations: 2.485 MB / 0.7093 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.5015, allocations: 4 kB / 0.7093 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004545/0.506, allocations: 1.287 MB / 0.7105 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.5066, allocations: 99.89 kB / 0.7106 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.5183, allocations: 5.879 MB / 0.7164 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.5194, allocations: 119.4 kB / 0.7165 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/0.5195, allocations: 24 kB / 0.7165 GB, free: 5.133 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) 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: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005006/0.5201, allocations: 297.6 kB / 0.7168 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.5203, allocations: 86.97 kB / 0.7169 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006585/0.5269, allocations: 2.467 MB / 0.7193 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.5269, allocations: 4.188 kB / 0.7193 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.5269, allocations: 8 kB / 0.7193 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.5269, allocations: 11.92 kB / 0.7193 GB, free: 2.238 MB / 0.5105 GB 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.008374/0.5353, allocations: 3.811 MB / 0.723 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5353, allocations: 0 / 0.723 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.5359, allocations: 87.89 kB / 0.7231 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003376/0.5393, allocations: 1.114 MB / 0.7242 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/0.5394, allocations: 16 kB / 0.7242 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008501/0.5479, allocations: 4.592 MB / 0.7287 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5479, allocations: 0 / 0.7287 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007418/0.5553, allocations: 3.175 MB / 0.7318 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/0.5557, allocations: 187.9 kB / 0.732 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.5558, allocations: 23.94 kB / 0.732 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000905/0.5567, allocations: 84.03 kB / 0.7321 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003099/0.5571, allocations: 136.2 kB / 0.7322 GB, free: 4.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.677e-05/0.5571, allocations: 19.98 kB / 0.7322 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007142/0.5578, allocations: 0.5303 MB / 0.7328 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5579, allocations: 0 / 0.7328 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001454/0.5593, allocations: 0.5148 MB / 0.7333 GB, free: 3.648 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.order6.delta,G1.order6.w,G1.order6.e1q,G1.order6.e1d,G1.order6.e2q,G1.order6.e2d,G1.aVRtypeIII.vm,G1.aVRtypeIII.vr,G1.aVRtypeIII.vf1) * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002597/0.5596, allocations: 149.2 kB / 0.7334 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007564/0.5672, allocations: 3.32 MB / 0.7367 GB, free: 76 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5672, allocations: 0 / 0.7367 GB, free: 76 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002922/0.5701, allocations: 1.334 MB / 0.738 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.5706, allocations: 63.3 kB / 0.738 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.5742, allocations: 2.268 MB / 0.7402 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.5748, allocations: 1.018 MB / 0.7412 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003676/0.5751, allocations: 60.86 kB / 0.7413 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.5753, allocations: 47.38 kB / 0.7413 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of SimCode: time 8.21e-07/0.5754, allocations: 0 / 0.7413 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of Templates: time 0.02754/0.6029, allocations: 19.47 MB / 0.7603 GB, free: 7.727 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)