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.0009607/0.0009607, 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.35/1.35, allocations: 223.3 MB / 239 MB, free: 5.602 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.001015/0.001015, allocations: 180.5 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5093/0.5093, allocations: 91.92 MB / 433.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003607, allocations: 16 kB / 0.5042 GB, free: 7.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2966, allocations: 72.46 MB / 0.5749 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1.Network1): time 0.003575/0.3002, allocations: 4.785 MB / 0.5796 GB, free: 33.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.3027, allocations: 1.693 MB / 0.5813 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003651/0.303, allocations: 9.344 kB / 0.5813 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.3033, allocations: 121.8 kB / 0.5814 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.3045, allocations: 0.523 MB / 0.5819 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.3052, allocations: 389.1 kB / 0.5823 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008175/0.3061, allocations: 1.063 MB / 0.5833 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.3064, allocations: 194 kB / 0.5835 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004345/0.3068, allocations: 402.7 kB / 0.5839 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.3073, allocations: 0.5229 MB / 0.5844 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.258e-05/0.3074, allocations: 51.19 kB / 0.5844 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.3077, allocations: 170.7 kB / 0.5846 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.3079, allocations: 182.5 kB / 0.5848 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.308, allocations: 176.3 kB / 0.585 GB, free: 30.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007362/0.3088, allocations: 1.104 MB / 0.586 GB, free: 30.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3088, allocations: 0 / 0.586 GB, free: 30.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3088, allocations: 4 kB / 0.586 GB, free: 30.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.3088, allocations: 0 / 0.586 GB, free: 30.29 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.004529/0.3133, allocations: 1.714 MB / 0.5877 GB, free: 29.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3134, allocations: 12.83 kB / 0.5877 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/0.3166, allocations: 0.5282 MB / 0.5882 GB, free: 29.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008799/0.3175, allocations: 0.6536 MB / 0.5889 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.3177, allocations: 154.2 kB / 0.589 GB, free: 28.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.3178, allocations: 68.73 kB / 0.5891 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.3192, allocations: 0.827 MB / 0.5899 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.3193, allocations: 0 / 0.5899 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.3193, allocations: 24.69 kB / 0.5899 GB, free: 28.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.3194, allocations: 12.09 kB / 0.5899 GB, free: 28.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.3207, allocations: 0.7239 MB / 0.5906 GB, free: 28.16 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.004329/0.3251, allocations: 2.946 MB / 0.5935 GB, free: 26.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.3376, allocations: 3.961 MB / 0.5974 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.3387, allocations: 0.5248 MB / 0.5979 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.34e-05/0.3388, allocations: 12.22 kB / 0.5979 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3389, allocations: 42.92 kB / 0.5979 GB, free: 25.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.354e-06/0.3389, allocations: 0 / 0.5979 GB, free: 25.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01291/0.3518, allocations: 4.352 MB / 0.6022 GB, free: 24.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.3519, allocations: 85.19 kB / 0.6023 GB, free: 24.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.353, allocations: 0.7781 MB / 0.603 GB, free: 23.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.3531, allocations: 36.45 kB / 0.6031 GB, free: 23.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.3533, allocations: 375.9 kB / 0.6034 GB, free: 23.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.3535, allocations: 240.6 kB / 0.6037 GB, free: 23.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.3536, allocations: 24.12 kB / 0.6037 GB, free: 23.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.3537, allocations: 342.5 kB / 0.604 GB, free: 23.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.3548, allocations: 0.5817 MB / 0.6046 GB, free: 22.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.356, allocations: 0.6907 MB / 0.6053 GB, free: 22.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.3571, allocations: 0.6302 MB / 0.6059 GB, free: 22.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.3571, allocations: 9.234 kB / 0.6059 GB, free: 22.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007642/0.3648, allocations: 2.864 MB / 0.6087 GB, free: 21.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.3649, allocations: 142.2 kB / 0.6088 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3649, allocations: 1.844 kB / 0.6088 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00494/0.3698, allocations: 1.255 MB / 0.61 GB, free: 21.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.371, allocations: 171.8 kB / 0.6102 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.3822, allocations: 5.382 MB / 0.6155 GB, free: 18.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.3835, allocations: 145.3 kB / 0.6156 GB, free: 18.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.3836, allocations: 39.91 kB / 0.6156 GB, free: 18.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.908e-06/0.3836, allocations: 7.125 kB / 0.6156 GB, free: 18.19 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007229/0.3909, allocations: 2.73 MB / 0.6183 GB, free: 16.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.3909, allocations: 0.9375 kB / 0.6183 GB, free: 16.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00428/0.3952, allocations: 1.26 MB / 0.6195 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/0.3961, allocations: 167.7 kB / 0.6197 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00933/0.4055, allocations: 5.384 MB / 0.625 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.4066, allocations: 131.3 kB / 0.6251 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/0.4067, allocations: 31.94 kB / 0.6251 GB, free: 9.801 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.aVRtypeIII.vref:VARIABLE(unit = "1" fixed = true protected = true ) 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 (103): * Single equations (assignments): 100 * 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.0004473/0.4072, allocations: 304.9 kB / 0.6254 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.4073, allocations: 86.88 kB / 0.6255 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005628/0.413, allocations: 2.391 MB / 0.6278 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.413, allocations: 11.98 kB / 0.6278 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.413, allocations: 4 kB / 0.6278 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.413, allocations: 0 / 0.6278 GB, free: 6.98 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.007064/0.4201, allocations: 3.694 MB / 0.6314 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.4201, allocations: 0 / 0.6314 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005417/0.4207, allocations: 83.89 kB / 0.6315 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/0.4237, allocations: 1.077 MB / 0.6326 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.4238, allocations: 23.97 kB / 0.6326 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00741/0.4312, allocations: 4.139 MB / 0.6366 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4312, allocations: 0 / 0.6366 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007415/0.4386, allocations: 3.06 MB / 0.6396 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.439, allocations: 195.8 kB / 0.6398 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.4391, allocations: 12 kB / 0.6398 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/0.4399, allocations: 83.92 kB / 0.6399 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/0.4402, allocations: 124.3 kB / 0.64 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/0.4403, allocations: 16 kB / 0.64 GB, free: 10.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007004/0.441, allocations: 0.5304 MB / 0.6406 GB, free: 9.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.441, allocations: 3.938 kB / 0.6406 GB, free: 9.656 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001501/0.4425, allocations: 0.5228 MB / 0.6411 GB, free: 9.133 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 (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.0002278/0.4428, allocations: 136.4 kB / 0.6412 GB, free: 8.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008035/0.4508, allocations: 3.554 MB / 0.6447 GB, free: 5.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4508, allocations: 0 / 0.6447 GB, free: 5.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002801/0.4536, allocations: 1.252 MB / 0.6459 GB, free: 4.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007098/0.4544, allocations: 78.16 kB / 0.646 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.4578, allocations: 2.145 MB / 0.6481 GB, free: 1.758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.4583, allocations: 0.9796 MB / 0.649 GB, free: 0.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004796/0.4588, allocations: 89.42 kB / 0.6491 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.459, allocations: 55.42 kB / 0.6492 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.459, allocations: 0 / 0.6492 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of Templates: time 0.02825/0.4872, allocations: 19.33 MB / 0.668 GB, free: 13.32 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)