Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.001228/0.001228, allocations: 99.86 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.29/1.29, allocations: 223.2 MB / 238.9 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.001061/0.001061, allocations: 185 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5954/0.5954, allocations: 78.53 MB / 419.8 MB, free: 4.352 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005416/0.0005417, allocations: 12 kB / 499.7 MB, free: 6.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1604, allocations: 69.36 MB / 0.5557 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.207/0.3674, allocations: 5.135 MB / 0.5607 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.3704, allocations: 2.087 MB / 0.5627 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005032/0.3709, allocations: 10.03 kB / 0.5627 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.3715, allocations: 171.6 kB / 0.5629 GB, free: 37 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001498/0.373, allocations: 0.6521 MB / 0.5635 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3741, allocations: 0.4997 MB / 0.564 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.3753, allocations: 1.022 MB / 0.565 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.3757, allocations: 235.5 kB / 0.5653 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006657/0.3764, allocations: 0.5699 MB / 0.5658 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.377, allocations: 0.6499 MB / 0.5665 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001406/0.3772, allocations: 61.12 kB / 0.5665 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.3776, allocations: 174.8 kB / 0.5667 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.3778, allocations: 245.2 kB / 0.5669 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.378, allocations: 229.1 kB / 0.5671 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.3792, allocations: 1.522 MB / 0.5686 GB, free: 36.39 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.3792, allocations: 0 / 0.5686 GB, free: 36.39 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3792, allocations: 1.062 kB / 0.5686 GB, free: 36.39 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.3792, allocations: 0 / 0.5686 GB, free: 36.39 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.006118/0.3853, allocations: 2.09 MB / 0.5707 GB, free: 35.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3854, allocations: 8.375 kB / 0.5707 GB, free: 35.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.3887, allocations: 0.5587 MB / 0.5712 GB, free: 35.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.3906, allocations: 0.9543 MB / 0.5721 GB, free: 35.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.3909, allocations: 246.4 kB / 0.5724 GB, free: 35.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.3911, allocations: 73.44 kB / 0.5724 GB, free: 35.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.3929, allocations: 1.002 MB / 0.5734 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.393, allocations: 0 / 0.5734 GB, free: 34.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.213e-05/0.393, allocations: 33.33 kB / 0.5735 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.3931, allocations: 18.69 kB / 0.5735 GB, free: 34.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.3949, allocations: 0.9618 MB / 0.5744 GB, free: 34.49 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.00628/0.4012, allocations: 3.798 MB / 0.5781 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.4149, allocations: 4.279 MB / 0.5823 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.415, allocations: 11.8 kB / 0.5823 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.4151, allocations: 38.88 kB / 0.5824 GB, free: 31.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.635e-06/0.4151, allocations: 0 / 0.5824 GB, free: 31.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01434/0.4294, allocations: 4.644 MB / 0.5869 GB, free: 30.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.4295, allocations: 111.6 kB / 0.587 GB, free: 30.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.4317, allocations: 1.154 MB / 0.5881 GB, free: 29.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.4319, allocations: 41.58 kB / 0.5882 GB, free: 29.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.4323, allocations: 471.4 kB / 0.5886 GB, free: 29.22 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.4326, allocations: 286.7 kB / 0.5889 GB, free: 29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.4327, allocations: 20 kB / 0.5889 GB, free: 28.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.4328, allocations: 349.5 kB / 0.5892 GB, free: 28.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.4342, allocations: 0.688 MB / 0.5899 GB, free: 28.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.4358, allocations: 0.8165 MB / 0.5907 GB, free: 28.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.4373, allocations: 0.7441 MB / 0.5914 GB, free: 27.69 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.4373, allocations: 1.469 kB / 0.5914 GB, free: 27.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008888/0.4462, allocations: 3.13 MB / 0.5945 GB, free: 26.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.4464, allocations: 0.6169 MB / 0.5951 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4464, allocations: 5.953 kB / 0.5951 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004873/0.4513, allocations: 1.265 MB / 0.5963 GB, free: 25.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.4526, allocations: 222.5 kB / 0.5965 GB, free: 25.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.4645, allocations: 5.6 MB / 0.602 GB, free: 23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.4663, allocations: 195.4 kB / 0.6022 GB, free: 22.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/0.4665, allocations: 38.38 kB / 0.6022 GB, free: 22.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.4665, allocations: 3.469 kB / 0.6022 GB, free: 22.93 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008223/0.4748, allocations: 2.947 MB / 0.6051 GB, free: 22.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.4748, allocations: 2.531 kB / 0.6051 GB, free: 22.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00479/0.4796, allocations: 1.252 MB / 0.6063 GB, free: 21.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.481, allocations: 210.5 kB / 0.6065 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.4924, allocations: 5.605 MB / 0.612 GB, free: 18.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.4943, allocations: 182.9 kB / 0.6122 GB, free: 18.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.4945, allocations: 36.08 kB / 0.6122 GB, free: 18.89 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.0006616/0.4951, allocations: 357.2 kB / 0.6126 GB, free: 18.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.4953, allocations: 112.4 kB / 0.6127 GB, free: 18.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006734/0.5021, allocations: 2.642 MB / 0.6153 GB, free: 16.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.5021, allocations: 12 kB / 0.6153 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.5021, allocations: 5.062 kB / 0.6153 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.5022, allocations: 4.406 kB / 0.6153 GB, free: 16.68 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.008127/0.5103, allocations: 4.233 MB / 0.6194 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5103, allocations: 0 / 0.6194 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006913/0.511, allocations: 107.9 kB / 0.6195 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/0.5141, allocations: 1.088 MB / 0.6206 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-05/0.5142, allocations: 27.94 kB / 0.6206 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007259/0.5214, allocations: 4.307 MB / 0.6248 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5215, allocations: 4.734 kB / 0.6248 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007594/0.5291, allocations: 3.456 MB / 0.6282 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.5295, allocations: 231.5 kB / 0.6284 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.5297, allocations: 16 kB / 0.6284 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.5308, allocations: 131.8 kB / 0.6285 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.5311, allocations: 143 kB / 0.6287 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.5312, allocations: 16.81 kB / 0.6287 GB, free: 2.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001248/0.5324, allocations: 0.8114 MB / 0.6295 GB, free: 1.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5324, allocations: 0 / 0.6295 GB, free: 1.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001599/0.534, allocations: 0.5891 MB / 0.6301 GB, free: 1.285 MB / 430.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.0002567/0.5343, allocations: 132.1 kB / 0.6302 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00859/0.5429, allocations: 3.899 MB / 0.634 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5429, allocations: 0 / 0.634 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003146/0.5461, allocations: 1.379 MB / 0.6353 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/0.5469, allocations: 102.5 kB / 0.6354 GB, free: 11.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004569/0.5515, allocations: 2.726 MB / 0.6381 GB, free: 8.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008463/0.5523, allocations: 1.105 MB / 0.6392 GB, free: 7.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008226/0.5532, allocations: 149.9 kB / 0.6393 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003287/0.5535, allocations: 67.42 kB / 0.6394 GB, free: 7.559 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5535, allocations: 0 / 0.6394 GB, free: 7.559 MB / 446.1 MB Notification: Performance of Templates: time 0.03566/0.5892, allocations: 22.22 MB / 0.6611 GB, free: 1.516 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1) Environment - environmentSimulation: