Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.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_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007829/0.0007829, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 240 MB, free: 5.508 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.0009347/0.0009347, allocations: 183.6 kB / 291.3 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4904/0.4904, allocations: 91.93 MB / 434.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 8 kB / 0.5054 GB, free: 7.242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2887, allocations: 72.46 MB / 0.5762 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.003499/0.2923, allocations: 5.086 MB / 0.5812 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.2946, allocations: 1.771 MB / 0.5829 GB, free: 32.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.2949, allocations: 10.84 kB / 0.5829 GB, free: 32.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.2951, allocations: 130.8 kB / 0.583 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001107/0.2963, allocations: 0.5823 MB / 0.5836 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.2969, allocations: 467.6 kB / 0.584 GB, free: 31.65 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007153/0.2977, allocations: 1.134 MB / 0.5851 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.2979, allocations: 206 kB / 0.5853 GB, free: 31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.2983, allocations: 420.6 kB / 0.5857 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.2988, allocations: 0.5389 MB / 0.5863 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.175e-05/0.2989, allocations: 47.59 kB / 0.5863 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.2992, allocations: 172.2 kB / 0.5865 GB, free: 30.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2993, allocations: 189.4 kB / 0.5867 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002769/0.2996, allocations: 477.2 kB / 0.5871 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006389/0.3003, allocations: 1.098 MB / 0.5882 GB, free: 29.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3003, allocations: 0 / 0.5882 GB, free: 29.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3003, allocations: 0 / 0.5882 GB, free: 29.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3003, allocations: 1.062 kB / 0.5882 GB, free: 29.83 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.004917/0.3052, allocations: 1.713 MB / 0.5899 GB, free: 29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3053, allocations: 9.219 kB / 0.5899 GB, free: 29 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/0.3086, allocations: 0.5276 MB / 0.5904 GB, free: 28.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008073/0.3095, allocations: 0.6913 MB / 0.5911 GB, free: 28.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.3096, allocations: 153.2 kB / 0.5912 GB, free: 28.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.3098, allocations: 66.38 kB / 0.5913 GB, free: 28.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.3113, allocations: 0.821 MB / 0.5921 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3113, allocations: 4 kB / 0.5921 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.161e-05/0.3114, allocations: 21.28 kB / 0.5921 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3114, allocations: 12.28 kB / 0.5921 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.3128, allocations: 0.7356 MB / 0.5928 GB, free: 27.66 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.00434/0.3171, allocations: 2.947 MB / 0.5957 GB, free: 25.97 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/0.3316, allocations: 3.955 MB / 0.5996 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.3327, allocations: 0.5249 MB / 0.6001 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-05/0.3328, allocations: 11.05 kB / 0.6001 GB, free: 25.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.3328, allocations: 46.06 kB / 0.6001 GB, free: 25.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.575e-06/0.3328, allocations: 0 / 0.6001 GB, free: 25.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01427/0.3471, allocations: 4.372 MB / 0.6044 GB, free: 23.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.3472, allocations: 88.06 kB / 0.6045 GB, free: 23.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3482, allocations: 0.7889 MB / 0.6053 GB, free: 23.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.239e-05/0.3483, allocations: 37.08 kB / 0.6053 GB, free: 23.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.3485, allocations: 374.9 kB / 0.6056 GB, free: 23.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.3487, allocations: 244.1 kB / 0.6059 GB, free: 22.92 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.3489, allocations: 99.61 kB / 0.606 GB, free: 22.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.3489, allocations: 346.2 kB / 0.6063 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.3501, allocations: 0.5824 MB / 0.6069 GB, free: 22.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.3513, allocations: 0.6953 MB / 0.6076 GB, free: 22.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01956/0.3709, allocations: 4.293 MB / 0.6117 GB, free: 20.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.3709, allocations: 1 kB / 0.6117 GB, free: 20.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008392/0.3793, allocations: 2.872 MB / 0.6145 GB, free: 20.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.3794, allocations: 140.2 kB / 0.6147 GB, free: 19.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.3794, allocations: 0.9688 kB / 0.6147 GB, free: 19.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00471/0.3842, allocations: 1.202 MB / 0.6159 GB, free: 19.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009624/0.3851, allocations: 176.6 kB / 0.616 GB, free: 19.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/0.3952, allocations: 5.109 MB / 0.621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.3966, allocations: 147 kB / 0.6212 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.3967, allocations: 39.98 kB / 0.6212 GB, free: 15.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.3967, allocations: 4 kB / 0.6212 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007171/0.4039, allocations: 2.738 MB / 0.6239 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4039, allocations: 0 / 0.6239 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004181/0.4081, allocations: 1.199 MB / 0.625 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.4089, allocations: 167.7 kB / 0.6252 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009514/0.4185, allocations: 5.101 MB / 0.6302 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.4197, allocations: 131.2 kB / 0.6303 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.686e-05/0.4198, allocations: 39.98 kB / 0.6303 GB, free: 5.547 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" 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 (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004762/0.4203, allocations: 296.9 kB / 0.6306 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.4205, allocations: 86.97 kB / 0.6307 GB, free: 5.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006351/0.4268, allocations: 2.391 MB / 0.633 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4268, allocations: 12 kB / 0.6331 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4268, allocations: 7.938 kB / 0.6331 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4269, allocations: 3.984 kB / 0.6331 GB, free: 2.723 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.007987/0.4348, allocations: 3.698 MB / 0.6367 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4349, allocations: 0 / 0.6367 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/0.4355, allocations: 87.83 kB / 0.6368 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003741/0.4392, allocations: 1.082 MB / 0.6378 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/0.4393, allocations: 12 kB / 0.6378 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008597/0.4479, allocations: 4.15 MB / 0.6419 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.4479, allocations: 4 kB / 0.6419 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008136/0.4561, allocations: 3.076 MB / 0.6449 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.4564, allocations: 187.8 kB / 0.6451 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.4566, allocations: 15.94 kB / 0.6451 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009094/0.4575, allocations: 79.94 kB / 0.6452 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003272/0.4579, allocations: 120.3 kB / 0.6453 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.4579, allocations: 16 kB / 0.6453 GB, free: 5.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006898/0.4586, allocations: 0.5381 MB / 0.6458 GB, free: 5.379 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4586, allocations: 4 kB / 0.6458 GB, free: 5.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001404/0.46, allocations: 0.5189 MB / 0.6463 GB, free: 4.855 MB / 446.1 MB 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002219/0.4603, allocations: 123.3 kB / 0.6464 GB, free: 4.727 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008601/0.4689, allocations: 3.543 MB / 0.6499 GB, free: 1.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.4689, allocations: 4.062 kB / 0.6499 GB, free: 1.066 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003161/0.4721, allocations: 1.263 MB / 0.6511 GB, free: 15.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/0.4728, allocations: 74.97 kB / 0.6512 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.4764, allocations: 2.26 MB / 0.6534 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.4769, allocations: 0.9757 MB / 0.6544 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/0.4772, allocations: 59.42 kB / 0.6544 GB, free: 12.32 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4772, allocations: 4 kB / 0.6544 GB, free: 12.32 MB / 462.1 MB Notification: Performance of Templates: time 0.0243/0.5015, allocations: 22.53 MB / 0.6764 GB, free: 5.777 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1.pipe 2>&1)