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.0007978/0.0007979, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.324/1.324, allocations: 223.2 MB / 239 MB, free: 5.457 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.0009857/0.0009858, allocations: 180.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5051/0.5051, allocations: 91.92 MB / 433.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.000381, allocations: 12 kB / 0.5042 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3191, allocations: 72.48 MB / 0.5749 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.003851/0.323, allocations: 5.387 MB / 0.5802 GB, free: 33.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.3256, allocations: 2.086 MB / 0.5822 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003671/0.326, allocations: 9.531 kB / 0.5823 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004733/0.3265, allocations: 174.1 kB / 0.5824 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.3277, allocations: 0.6011 MB / 0.583 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009121/0.3286, allocations: 0.5067 MB / 0.5835 GB, free: 30.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.3298, allocations: 1.576 MB / 0.585 GB, free: 30.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.3301, allocations: 240.5 kB / 0.5853 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006115/0.3308, allocations: 0.57 MB / 0.5858 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006669/0.3314, allocations: 0.6665 MB / 0.5865 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.3316, allocations: 59.78 kB / 0.5865 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.332, allocations: 185.6 kB / 0.5867 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.3322, allocations: 248 kB / 0.5869 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.3323, allocations: 226.2 kB / 0.5872 GB, free: 29.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009659/0.3333, allocations: 1.551 MB / 0.5887 GB, free: 28.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3333, allocations: 1.906 kB / 0.5887 GB, free: 28.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3333, allocations: 0 / 0.5887 GB, free: 28.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.3333, allocations: 0.6875 kB / 0.5887 GB, free: 28.84 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.006062/0.3394, allocations: 2.093 MB / 0.5907 GB, free: 27.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3395, allocations: 8.594 kB / 0.5907 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/0.3429, allocations: 0.5537 MB / 0.5913 GB, free: 27.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.3446, allocations: 0.9625 MB / 0.5922 GB, free: 27.15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.3449, allocations: 246.9 kB / 0.5925 GB, free: 26.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.345, allocations: 77.62 kB / 0.5925 GB, free: 26.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.3469, allocations: 1.003 MB / 0.5935 GB, free: 26.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3469, allocations: 0 / 0.5935 GB, free: 26.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.421e-05/0.347, allocations: 25 kB / 0.5935 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.347, allocations: 15.12 kB / 0.5935 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.3489, allocations: 0.9761 MB / 0.5945 GB, free: 26.14 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.005889/0.3548, allocations: 3.685 MB / 0.5981 GB, free: 24.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/0.3686, allocations: 4.286 MB / 0.6023 GB, free: 23.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.37, allocations: 0.6272 MB / 0.6029 GB, free: 23.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-05/0.3701, allocations: 9.328 kB / 0.6029 GB, free: 23.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3701, allocations: 46.77 kB / 0.6029 GB, free: 22.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.755e-06/0.3702, allocations: 0 / 0.6029 GB, free: 22.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01362/0.3838, allocations: 4.644 MB / 0.6075 GB, free: 21.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.3838, allocations: 112.3 kB / 0.6076 GB, free: 21.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.3859, allocations: 1.16 MB / 0.6087 GB, free: 21.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.386, allocations: 41.3 kB / 0.6088 GB, free: 21.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.3863, allocations: 471.5 kB / 0.6092 GB, free: 20.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.3865, allocations: 282.5 kB / 0.6095 GB, free: 20.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.153e-05/0.3866, allocations: 24.16 kB / 0.6095 GB, free: 20.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.3867, allocations: 349.2 kB / 0.6098 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.388, allocations: 0.6865 MB / 0.6105 GB, free: 19.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.3895, allocations: 0.816 MB / 0.6113 GB, free: 19.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.3909, allocations: 0.7505 MB / 0.612 GB, free: 19.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3909, allocations: 0 / 0.612 GB, free: 19.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008289/0.3992, allocations: 3.131 MB / 0.6151 GB, free: 18.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.792e-05/0.3993, allocations: 140.6 kB / 0.6152 GB, free: 18.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3993, allocations: 1.938 kB / 0.6152 GB, free: 18.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00463/0.404, allocations: 1.261 MB / 0.6165 GB, free: 17.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4053, allocations: 217.9 kB / 0.6167 GB, free: 17.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.4154, allocations: 5.383 MB / 0.6219 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.4171, allocations: 210.8 kB / 0.6221 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.4173, allocations: 43.98 kB / 0.6222 GB, free: 12.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.4173, allocations: 3.938 kB / 0.6222 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007153/0.4244, allocations: 2.937 MB / 0.625 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4245, allocations: 4 kB / 0.625 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004101/0.4286, allocations: 1.257 MB / 0.6263 GB, free: 8.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.4296, allocations: 211.7 kB / 0.6265 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009465/0.4391, allocations: 5.372 MB / 0.6317 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.4405, allocations: 179.1 kB / 0.6319 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.4406, allocations: 39.98 kB / 0.6319 GB, free: 2.766 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.0005371/0.4412, allocations: 356.9 kB / 0.6323 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.4414, allocations: 110.6 kB / 0.6324 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00635/0.4478, allocations: 2.65 MB / 0.635 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4478, allocations: 8 kB / 0.635 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.4478, allocations: 4 kB / 0.635 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.4478, allocations: 3.984 kB / 0.635 GB, free: 15.61 MB / 446.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.009148/0.457, allocations: 4.236 MB / 0.6391 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.457, allocations: 3.938 kB / 0.6391 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/0.4579, allocations: 115.8 kB / 0.6392 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003366/0.4612, allocations: 1.082 MB / 0.6403 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.884e-05/0.4614, allocations: 16 kB / 0.6403 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008023/0.4694, allocations: 4.138 MB / 0.6443 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4694, allocations: 0 / 0.6443 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008563/0.478, allocations: 3.438 MB / 0.6477 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.4785, allocations: 227.5 kB / 0.6479 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/0.4788, allocations: 24 kB / 0.6479 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.48, allocations: 127.9 kB / 0.6481 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/0.4804, allocations: 132.4 kB / 0.6482 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.478e-05/0.4805, allocations: 16 kB / 0.6482 GB, free: 1.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0016/0.4821, allocations: 0.8114 MB / 0.649 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4821, allocations: 4 kB / 0.649 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001874/0.484, allocations: 0.593 MB / 0.6496 GB, free: 360 kB / 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.0002634/0.4842, allocations: 136.2 kB / 0.6497 GB, free: 216 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009053/0.4933, allocations: 3.911 MB / 0.6535 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.4933, allocations: 0 / 0.6535 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003121/0.4965, allocations: 1.373 MB / 0.6549 GB, free: 10.76 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009232/0.4974, allocations: 113 kB / 0.655 GB, free: 10.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/0.502, allocations: 2.723 MB / 0.6576 GB, free: 7.906 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.5026, allocations: 1.082 MB / 0.6587 GB, free: 6.789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000721/0.5034, allocations: 150.9 kB / 0.6588 GB, free: 6.637 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.5037, allocations: 67.42 kB / 0.6589 GB, free: 6.57 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.5037, allocations: 0 / 0.6589 GB, free: 6.57 MB / 462.1 MB Notification: Performance of Templates: time 0.03445/0.5382, allocations: 22.26 MB / 0.6806 GB, free: 368 kB / 478.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)