Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008795/0.0008796, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.587/1.587, allocations: 223.2 MB / 238.9 MB, free: 5.465 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.001518/0.001518, allocations: 188.5 kB / 290.2 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5294/0.5294, allocations: 79.45 MB / 420.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 20 kB / 0.489 GB, free: 5.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1629, allocations: 69.52 MB / 0.5569 GB, free: 8 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.3296/0.4926, allocations: 5.144 MB / 0.5619 GB, free: 37.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005077/0.4977, allocations: 2.092 MB / 0.5639 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.4988, allocations: 10.38 kB / 0.564 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007659/0.4996, allocations: 178.2 kB / 0.5641 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.5019, allocations: 0.6494 MB / 0.5648 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.5034, allocations: 0.4994 MB / 0.5652 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002478/0.5059, allocations: 1.01 MB / 0.5662 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/0.5063, allocations: 243.9 kB / 0.5665 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.5076, allocations: 0.5676 MB / 0.567 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008773/0.5085, allocations: 0.6525 MB / 0.5677 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.5086, allocations: 60.72 kB / 0.5677 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.5092, allocations: 172.3 kB / 0.5679 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.5094, allocations: 249.9 kB / 0.5681 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.5098, allocations: 229.4 kB / 0.5683 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.5114, allocations: 1.518 MB / 0.5698 GB, free: 36.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5114, allocations: 2.125 kB / 0.5698 GB, free: 36.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5115, allocations: 0.8438 kB / 0.5698 GB, free: 36.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.5115, allocations: 0 / 0.5698 GB, free: 36.02 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.006977/0.5185, allocations: 2.096 MB / 0.5719 GB, free: 35.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.5185, allocations: 9.344 kB / 0.5719 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00374/0.5223, allocations: 0.5575 MB / 0.5724 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.5248, allocations: 0.9583 MB / 0.5734 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/0.5251, allocations: 246.2 kB / 0.5736 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.5253, allocations: 73.81 kB / 0.5737 GB, free: 34.11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.5272, allocations: 1.003 MB / 0.5746 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.5272, allocations: 3.922 kB / 0.5746 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/0.5273, allocations: 29.94 kB / 0.5747 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.5273, allocations: 15.34 kB / 0.5747 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.5292, allocations: 0.9653 MB / 0.5756 GB, free: 33.37 MB / 430.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.006487/0.5357, allocations: 3.793 MB / 0.5793 GB, free: 31.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01442/0.5501, allocations: 4.284 MB / 0.5835 GB, free: 30.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/0.5504, allocations: 9.312 kB / 0.5835 GB, free: 30.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.5504, allocations: 38.88 kB / 0.5836 GB, free: 30.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.236e-06/0.5504, allocations: 4 kB / 0.5836 GB, free: 30.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01633/0.5668, allocations: 4.643 MB / 0.5881 GB, free: 29.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.5669, allocations: 112.6 kB / 0.5882 GB, free: 28.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.5696, allocations: 1.156 MB / 0.5893 GB, free: 28.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003253/0.5699, allocations: 40.89 kB / 0.5894 GB, free: 28.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/0.5703, allocations: 470.6 kB / 0.5898 GB, free: 28.08 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.5707, allocations: 281.9 kB / 0.5901 GB, free: 27.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.5708, allocations: 21.28 kB / 0.5901 GB, free: 27.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.5709, allocations: 348.8 kB / 0.5905 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.5724, allocations: 0.6962 MB / 0.5911 GB, free: 27.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.5739, allocations: 0.806 MB / 0.5919 GB, free: 26.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.5755, allocations: 0.7482 MB / 0.5926 GB, free: 26.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.5755, allocations: 0 / 0.5926 GB, free: 26.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01013/0.5857, allocations: 3.131 MB / 0.5957 GB, free: 25.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.5859, allocations: 0.6236 MB / 0.5963 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.5859, allocations: 2.75 kB / 0.5963 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005244/0.5912, allocations: 1.254 MB / 0.5975 GB, free: 24.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.5927, allocations: 227.1 kB / 0.5978 GB, free: 24.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/0.6053, allocations: 5.6 MB / 0.6032 GB, free: 21.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.6075, allocations: 198.7 kB / 0.6034 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.6077, allocations: 37.55 kB / 0.6035 GB, free: 21.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6078, allocations: 3.094 kB / 0.6035 GB, free: 21.79 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008962/0.6167, allocations: 2.942 MB / 0.6063 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.6168, allocations: 6.156 kB / 0.6063 GB, free: 20.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005052/0.6218, allocations: 1.253 MB / 0.6076 GB, free: 20.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.6233, allocations: 210.4 kB / 0.6078 GB, free: 20.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.6357, allocations: 5.603 MB / 0.6132 GB, free: 17.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.6378, allocations: 187.9 kB / 0.6134 GB, free: 17.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.638, allocations: 37.12 kB / 0.6134 GB, free: 17.75 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: 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: 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 (118): * Single equations (assignments): 115 * 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 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0009033/0.6389, allocations: 354.4 kB / 0.6138 GB, free: 17.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/0.6392, allocations: 110.5 kB / 0.6139 GB, free: 17.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007097/0.6463, allocations: 2.645 MB / 0.6165 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.6464, allocations: 8 kB / 0.6165 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.6464, allocations: 5.891 kB / 0.6165 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/0.6464, allocations: 7.172 kB / 0.6165 GB, free: 15.32 MB / 430.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 postOpt removeSimpleEquations (simulation): time 0.008704/0.6551, allocations: 4.227 MB / 0.6206 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.6552, allocations: 0 / 0.6206 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.656, allocations: 115.8 kB / 0.6207 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003158/0.6591, allocations: 1.087 MB / 0.6218 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.6593, allocations: 16 kB / 0.6218 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007636/0.6669, allocations: 4.322 MB / 0.626 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.667, allocations: 0 / 0.626 GB, free: 5.375 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008407/0.6754, allocations: 3.459 MB / 0.6294 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008217/0.6762, allocations: 225.2 kB / 0.6296 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.6764, allocations: 19.98 kB / 0.6296 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.6776, allocations: 131.9 kB / 0.6298 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000368/0.678, allocations: 136.4 kB / 0.6299 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/0.678, allocations: 16 kB / 0.6299 GB, free: 1.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001381/0.6794, allocations: 0.8153 MB / 0.6307 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6794, allocations: 0 / 0.6307 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001984/0.6814, allocations: 0.5891 MB / 0.6313 GB, free: 15.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * 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 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003167/0.6818, allocations: 139.6 kB / 0.6314 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009666/0.6914, allocations: 3.907 MB / 0.6352 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.6915, allocations: 0 / 0.6352 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003354/0.6948, allocations: 1.371 MB / 0.6366 GB, free: 10.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.6959, allocations: 100.1 kB / 0.6367 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.701, allocations: 2.728 MB / 0.6393 GB, free: 7.547 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000728/0.7017, allocations: 1.105 MB / 0.6404 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008888/0.7026, allocations: 146.8 kB / 0.6405 GB, free: 6.266 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.7029, allocations: 67.42 kB / 0.6406 GB, free: 6.199 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.7029, allocations: 0 / 0.6406 GB, free: 6.199 MB / 446.1 MB Notification: Performance of Templates: time 0.03809/0.741, allocations: 22.24 MB / 0.6623 GB, free: 152 kB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)