Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.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_2.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007818/0.007818, allocations: 170.3 kB / 15.12 MB, free: 5.477 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.332/1.332, allocations: 223.2 MB / 239 MB, free: 1.707 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.0008436/0.0008436, allocations: 104.7 kB / 290.2 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4573/0.4573, allocations: 78.58 MB / 419.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 8 kB / 499.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3341, allocations: 69.33 MB / 0.5558 GB, free: 38.75 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network): time 0.005712/0.3399, allocations: 5.139 MB / 0.5608 GB, free: 38.17 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.3439, allocations: 2.095 MB / 0.5628 GB, free: 36.68 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008635/0.3448, allocations: 10.81 kB / 0.5628 GB, free: 36.68 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.3454, allocations: 173 kB / 0.563 GB, free: 36.61 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001518/0.3469, allocations: 0.6574 MB / 0.5637 GB, free: 36.18 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.3481, allocations: 0.4935 MB / 0.5641 GB, free: 35.93 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00121/0.3493, allocations: 1.02 MB / 0.5651 GB, free: 35.36 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.3497, allocations: 245.7 kB / 0.5654 GB, free: 35.27 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007037/0.3504, allocations: 0.5785 MB / 0.5659 GB, free: 35.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006755/0.3511, allocations: 0.6432 MB / 0.5666 GB, free: 34.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.3512, allocations: 59.5 kB / 0.5666 GB, free: 34.75 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003844/0.3516, allocations: 176.4 kB / 0.5668 GB, free: 34.71 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.3518, allocations: 247.3 kB / 0.567 GB, free: 34.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.352, allocations: 224.6 kB / 0.5672 GB, free: 34.43 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.353, allocations: 1.522 MB / 0.5687 GB, free: 34.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.353, allocations: 3.312 kB / 0.5687 GB, free: 34.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.353, allocations: 4 kB / 0.5687 GB, free: 34.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.353, allocations: 0 / 0.5687 GB, free: 34.07 MB / 426.7 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.005947/0.359, allocations: 2.084 MB / 0.5708 GB, free: 33.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.359, allocations: 8.188 kB / 0.5708 GB, free: 33.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003094/0.3621, allocations: 0.5619 MB / 0.5713 GB, free: 32.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.3638, allocations: 0.9539 MB / 0.5723 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.364, allocations: 244.7 kB / 0.5725 GB, free: 32.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.3641, allocations: 69.47 kB / 0.5726 GB, free: 32.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.3658, allocations: 1.008 MB / 0.5735 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.3659, allocations: 0 / 0.5735 GB, free: 31.72 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.3659, allocations: 29.84 kB / 0.5736 GB, free: 31.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.366, allocations: 18.59 kB / 0.5736 GB, free: 31.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.3677, allocations: 0.9635 MB / 0.5745 GB, free: 31.36 MB / 426.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.005433/0.3732, allocations: 3.792 MB / 0.5782 GB, free: 29.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01359/0.3868, allocations: 4.281 MB / 0.5824 GB, free: 28.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.3869, allocations: 18.34 kB / 0.5824 GB, free: 28.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.387, allocations: 37.84 kB / 0.5825 GB, free: 28.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=76): time 2.985e-06/0.387, allocations: 0 / 0.5825 GB, free: 28.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=76): time 0.01315/0.4001, allocations: 4.644 MB / 0.587 GB, free: 27.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.4002, allocations: 111.4 kB / 0.5871 GB, free: 26.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.4022, allocations: 1.159 MB / 0.5882 GB, free: 26.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.4023, allocations: 40.77 kB / 0.5883 GB, free: 26.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.4026, allocations: 471.2 kB / 0.5887 GB, free: 26.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.4028, allocations: 274.2 kB / 0.589 GB, free: 25.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.4029, allocations: 22.28 kB / 0.589 GB, free: 25.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.4029, allocations: 356 kB / 0.5893 GB, free: 25.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.4042, allocations: 0.6869 MB / 0.59 GB, free: 25.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.4055, allocations: 0.8084 MB / 0.5908 GB, free: 24.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.407, allocations: 0.7472 MB / 0.5915 GB, free: 24.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.407, allocations: 1.094 kB / 0.5915 GB, free: 24.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008354/0.4153, allocations: 3.13 MB / 0.5946 GB, free: 23.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.4155, allocations: 0.6287 MB / 0.5952 GB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4155, allocations: 1.031 kB / 0.5952 GB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00465/0.4201, allocations: 1.26 MB / 0.5964 GB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.4215, allocations: 224 kB / 0.5967 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.4329, allocations: 5.602 MB / 0.6021 GB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.4348, allocations: 196.3 kB / 0.6023 GB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.4349, allocations: 37.27 kB / 0.6023 GB, free: 19.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.4349, allocations: 4.062 kB / 0.6023 GB, free: 19.74 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008212/0.4431, allocations: 2.946 MB / 0.6052 GB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4432, allocations: 2.219 kB / 0.6052 GB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004855/0.448, allocations: 1.258 MB / 0.6065 GB, free: 18.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4493, allocations: 209.5 kB / 0.6067 GB, free: 18.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.4607, allocations: 5.606 MB / 0.6121 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.4624, allocations: 179.3 kB / 0.6123 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.851e-05/0.4625, allocations: 39.75 kB / 0.6123 GB, free: 15.34 MB / 426.7 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.0006284/0.4631, allocations: 354.2 kB / 0.6127 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.4633, allocations: 110.6 kB / 0.6128 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006885/0.4702, allocations: 2.642 MB / 0.6154 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.4703, allocations: 8 kB / 0.6154 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.4703, allocations: 4 kB / 0.6154 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.4703, allocations: 7.984 kB / 0.6154 GB, free: 12.7 MB / 426.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 postOpt removeSimpleEquations (simulation): time 0.008165/0.4785, allocations: 4.229 MB / 0.6195 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4785, allocations: 0 / 0.6195 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007036/0.4792, allocations: 115.9 kB / 0.6196 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/0.4823, allocations: 1.089 MB / 0.6207 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.311e-05/0.4824, allocations: 19.98 kB / 0.6207 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007605/0.4901, allocations: 4.311 MB / 0.6249 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4901, allocations: 0 / 0.6249 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008207/0.4983, allocations: 3.452 MB / 0.6283 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/0.4989, allocations: 235.5 kB / 0.6285 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.499, allocations: 16 kB / 0.6285 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.5003, allocations: 131.9 kB / 0.6287 GB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/0.5006, allocations: 128.4 kB / 0.6288 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.5007, allocations: 27.94 kB / 0.6288 GB, free: 14.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001499/0.5022, allocations: 0.8075 MB / 0.6296 GB, free: 13.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5022, allocations: 0 / 0.6296 GB, free: 13.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001754/0.504, allocations: 0.5969 MB / 0.6302 GB, free: 13.24 MB / 442.7 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.0002626/0.5043, allocations: 127.2 kB / 0.6303 GB, free: 13.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009392/0.5137, allocations: 3.907 MB / 0.6341 GB, free: 9.098 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.5137, allocations: 0 / 0.6341 GB, free: 9.098 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003327/0.5171, allocations: 1.369 MB / 0.6354 GB, free: 7.672 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008909/0.518, allocations: 99.75 kB / 0.6355 GB, free: 7.578 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004857/0.5228, allocations: 2.735 MB / 0.6382 GB, free: 4.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.5235, allocations: 1.109 MB / 0.6393 GB, free: 3.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007824/0.5243, allocations: 146.9 kB / 0.6394 GB, free: 3.531 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/0.5246, allocations: 67.42 kB / 0.6395 GB, free: 3.469 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/0.5246, allocations: 0 / 0.6395 GB, free: 3.469 MB / 442.7 MB Notification: Performance of Templates: time 0.03331/0.5579, allocations: 22.24 MB / 0.6612 GB, free: 13.27 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.sim & ./OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_2.Network.pipe 2>&1)