Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.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_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009806/0.0009806, allocations: 84.38 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.319/1.319, allocations: 223.3 MB / 239 MB, free: 5.445 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.0009504/0.0009504, allocations: 180.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.497/0.497, allocations: 91.92 MB / 433.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 12 kB / 0.5042 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2945, allocations: 72.47 MB / 0.575 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network): time 0.003675/0.2983, allocations: 4.967 MB / 0.5798 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.3006, allocations: 1.719 MB / 0.5815 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.3009, allocations: 11.34 kB / 0.5815 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.3012, allocations: 132.5 kB / 0.5816 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.3026, allocations: 0.5406 MB / 0.5821 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008637/0.3035, allocations: 395.6 kB / 0.5825 GB, free: 31.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009884/0.3045, allocations: 1.113 MB / 0.5836 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.3048, allocations: 202 kB / 0.5838 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004382/0.3053, allocations: 429.1 kB / 0.5842 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.3058, allocations: 0.546 MB / 0.5847 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.251e-05/0.3059, allocations: 51.16 kB / 0.5848 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.3063, allocations: 179.3 kB / 0.585 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.3064, allocations: 196.2 kB / 0.5852 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3065, allocations: 189.5 kB / 0.5853 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007242/0.3073, allocations: 1.148 MB / 0.5865 GB, free: 29.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3073, allocations: 0 / 0.5865 GB, free: 29.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3073, allocations: 1.906 kB / 0.5865 GB, free: 29.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3073, allocations: 2.625 kB / 0.5865 GB, free: 29.98 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.004539/0.3118, allocations: 1.778 MB / 0.5882 GB, free: 29.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.3119, allocations: 9.031 kB / 0.5882 GB, free: 29.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/0.3151, allocations: 0.5385 MB / 0.5887 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008712/0.3159, allocations: 0.6804 MB / 0.5894 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.3161, allocations: 212.6 kB / 0.5896 GB, free: 28.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.3163, allocations: 63.34 kB / 0.5897 GB, free: 28.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.3178, allocations: 0.8884 MB / 0.5905 GB, free: 27.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3178, allocations: 0 / 0.5905 GB, free: 27.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/0.3179, allocations: 24.88 kB / 0.5905 GB, free: 27.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.3179, allocations: 14.12 kB / 0.5906 GB, free: 27.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.3193, allocations: 0.7667 MB / 0.5913 GB, free: 27.71 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.004533/0.3238, allocations: 3.226 MB / 0.5945 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.3363, allocations: 3.985 MB / 0.5984 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.3374, allocations: 0.5353 MB / 0.5989 GB, free: 24.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.844e-05/0.3375, allocations: 16.33 kB / 0.5989 GB, free: 24.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.3375, allocations: 38.59 kB / 0.5989 GB, free: 24.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=69): time 2.184e-06/0.3375, allocations: 4 kB / 0.5989 GB, free: 24.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=69): time 0.0122/0.3498, allocations: 4.225 MB / 0.6031 GB, free: 23.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.3498, allocations: 93.28 kB / 0.6031 GB, free: 23.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3509, allocations: 0.7968 MB / 0.6039 GB, free: 23.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-05/0.3509, allocations: 36.42 kB / 0.604 GB, free: 23.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.3512, allocations: 393 kB / 0.6043 GB, free: 22.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.3514, allocations: 259.2 kB / 0.6046 GB, free: 22.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/0.3515, allocations: 19.94 kB / 0.6046 GB, free: 22.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.3515, allocations: 343.5 kB / 0.6049 GB, free: 22.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.3527, allocations: 0.5973 MB / 0.6055 GB, free: 22.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.3539, allocations: 0.7176 MB / 0.6062 GB, free: 21.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.355, allocations: 0.6495 MB / 0.6068 GB, free: 21.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.355, allocations: 0 / 0.6068 GB, free: 21.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.007735/0.3628, allocations: 2.955 MB / 0.6097 GB, free: 20.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/0.3629, allocations: 145 kB / 0.6099 GB, free: 20.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.3629, allocations: 2 kB / 0.6099 GB, free: 20.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004679/0.3676, allocations: 1.303 MB / 0.6111 GB, free: 20.26 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009045/0.3685, allocations: 176 kB / 0.6113 GB, free: 20.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.3801, allocations: 5.663 MB / 0.6168 GB, free: 17.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.3815, allocations: 146.2 kB / 0.617 GB, free: 17.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.3816, allocations: 39 kB / 0.617 GB, free: 17.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.3816, allocations: 4.156 kB / 0.617 GB, free: 17.27 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007316/0.3889, allocations: 2.819 MB / 0.6198 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.389, allocations: 8.641 kB / 0.6198 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004249/0.3932, allocations: 1.296 MB / 0.6211 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/0.394, allocations: 171.7 kB / 0.6212 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009857/0.4039, allocations: 5.649 MB / 0.6267 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.405, allocations: 131.3 kB / 0.6269 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/0.4051, allocations: 35.98 kB / 0.6269 GB, free: 7.918 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * 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 (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 {10 15} Notification: Performance of prepare postOptimizeDAE: time 0.0004556/0.4055, allocations: 313.7 kB / 0.6272 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.4057, allocations: 82.97 kB / 0.6273 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00576/0.4115, allocations: 2.488 MB / 0.6297 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.4115, allocations: 11.95 kB / 0.6297 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.4115, allocations: 4 kB / 0.6297 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.4115, allocations: 3.984 kB / 0.6297 GB, free: 4.988 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.007034/0.4185, allocations: 3.834 MB / 0.6335 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4186, allocations: 4.062 kB / 0.6335 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/0.4191, allocations: 83.89 kB / 0.6335 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/0.4222, allocations: 1.126 MB / 0.6346 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.4223, allocations: 12 kB / 0.6347 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008453/0.4307, allocations: 4.408 MB / 0.639 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4307, allocations: 7.953 kB / 0.639 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007632/0.4384, allocations: 3.187 MB / 0.6421 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/0.4387, allocations: 183.8 kB / 0.6423 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.4388, allocations: 19.98 kB / 0.6423 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000792/0.4396, allocations: 83.94 kB / 0.6424 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/0.4399, allocations: 132.4 kB / 0.6425 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-05/0.44, allocations: 19.94 kB / 0.6425 GB, free: 7.598 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006863/0.4407, allocations: 0.5342 MB / 0.643 GB, free: 7.066 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4407, allocations: 0 / 0.643 GB, free: 7.066 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001596/0.4423, allocations: 0.5539 MB / 0.6436 GB, free: 6.512 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: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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 {(11,37.2%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002158/0.4425, allocations: 123.3 kB / 0.6437 GB, free: 6.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008253/0.4508, allocations: 3.715 MB / 0.6473 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4508, allocations: 448 / 0.6473 GB, free: 2.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002941/0.4537, allocations: 1.329 MB / 0.6486 GB, free: 1.176 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000621/0.4544, allocations: 74.88 kB / 0.6487 GB, free: 1.105 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.4579, allocations: 2.255 MB / 0.6509 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.4585, allocations: 0.9993 MB / 0.6519 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004631/0.4589, allocations: 89.64 kB / 0.6519 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.4591, allocations: 51.42 kB / 0.652 GB, free: 13.65 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4592, allocations: 0 / 0.652 GB, free: 13.65 MB / 462.1 MB Notification: Performance of Templates: time 0.02979/0.489, allocations: 20.18 MB / 0.6717 GB, free: 9.504 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)