Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.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.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB") translateModel(OpenIPSL.Examples.KundurSMIB.SMIB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008145/0.0008145, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.36/1.36, allocations: 223.3 MB / 239.4 MB, free: 5.496 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.001/0.001, allocations: 168.5 kB / 290.6 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5061/0.5061, allocations: 91.92 MB / 433.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 12 kB / 0.5048 GB, free: 7.27 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3815, allocations: 72.46 MB / 0.5755 GB, free: 36.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003659/0.3852, allocations: 4.765 MB / 0.5802 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.3876, allocations: 1.632 MB / 0.5818 GB, free: 32.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.3879, allocations: 8.469 kB / 0.5818 GB, free: 32.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.3882, allocations: 119.3 kB / 0.5819 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.3894, allocations: 0.5727 MB / 0.5825 GB, free: 32.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006732/0.3901, allocations: 390.8 kB / 0.5828 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007693/0.3909, allocations: 1.013 MB / 0.5838 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.3911, allocations: 188.8 kB / 0.584 GB, free: 31.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.3915, allocations: 380.8 kB / 0.5844 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004312/0.3919, allocations: 0.4939 MB / 0.5848 GB, free: 30.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.908e-05/0.392, allocations: 52.03 kB / 0.5849 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.3923, allocations: 174.7 kB / 0.5851 GB, free: 30.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.3925, allocations: 170.8 kB / 0.5852 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.3928, allocations: 448.4 kB / 0.5856 GB, free: 30.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000786/0.3935, allocations: 1.183 MB / 0.5868 GB, free: 29.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3936, allocations: 1.469 kB / 0.5868 GB, free: 29.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3936, allocations: 0 / 0.5868 GB, free: 29.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3936, allocations: 0 / 0.5868 GB, free: 29.97 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004596/0.3982, allocations: 1.627 MB / 0.5884 GB, free: 29.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3982, allocations: 8.219 kB / 0.5884 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003146/0.4014, allocations: 0.5215 MB / 0.5889 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008685/0.4023, allocations: 0.6486 MB / 0.5895 GB, free: 28.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.4025, allocations: 147.2 kB / 0.5897 GB, free: 28.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4026, allocations: 57.28 kB / 0.5897 GB, free: 28.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.4039, allocations: 0.6909 MB / 0.5904 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4039, allocations: 0 / 0.5904 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.404, allocations: 20.25 kB / 0.5904 GB, free: 28.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.404, allocations: 11.75 kB / 0.5904 GB, free: 28.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.4053, allocations: 0.6713 MB / 0.5911 GB, free: 27.96 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.004242/0.4096, allocations: 2.673 MB / 0.5937 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01404/0.4236, allocations: 3.771 MB / 0.5974 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/0.4247, allocations: 495.1 kB / 0.5979 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.23e-05/0.4248, allocations: 6.781 kB / 0.5979 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.4248, allocations: 37.25 kB / 0.5979 GB, free: 25.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.825e-06/0.4248, allocations: 0 / 0.5979 GB, free: 25.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01404/0.4389, allocations: 4.237 MB / 0.602 GB, free: 24.47 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.4389, allocations: 57.72 kB / 0.6021 GB, free: 24.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.44, allocations: 0.7646 MB / 0.6028 GB, free: 24.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.243e-05/0.4401, allocations: 36.45 kB / 0.6029 GB, free: 24.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.4403, allocations: 355.2 kB / 0.6032 GB, free: 23.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.4405, allocations: 212 kB / 0.6034 GB, free: 23.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.4406, allocations: 86.12 kB / 0.6035 GB, free: 23.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4408, allocations: 396.5 kB / 0.6039 GB, free: 23.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.4418, allocations: 0.5322 MB / 0.6044 GB, free: 22.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.4429, allocations: 0.6366 MB / 0.605 GB, free: 22.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01614/0.459, allocations: 3.8 MB / 0.6087 GB, free: 21.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.4591, allocations: 1.125 kB / 0.6087 GB, free: 21.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007949/0.467, allocations: 2.75 MB / 0.6114 GB, free: 20.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.4671, allocations: 5.219 kB / 0.6114 GB, free: 20.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4671, allocations: 2.75 kB / 0.6114 GB, free: 20.85 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004623/0.4717, allocations: 1.2 MB / 0.6126 GB, free: 20.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/0.4726, allocations: 151.9 kB / 0.6127 GB, free: 20.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.4834, allocations: 5.107 MB / 0.6177 GB, free: 17.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.4848, allocations: 132.7 kB / 0.6179 GB, free: 17.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/0.4849, allocations: 35.38 kB / 0.6179 GB, free: 17.57 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * 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.0004508/0.4853, allocations: 220.8 kB / 0.6181 GB, free: 17.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.4854, allocations: 78.97 kB / 0.6182 GB, free: 17.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006118/0.4916, allocations: 2.301 MB / 0.6204 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.4916, allocations: 4 kB / 0.6204 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.4916, allocations: 4 kB / 0.6204 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.4916, allocations: 3.984 kB / 0.6204 GB, free: 15.17 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.00688/0.4985, allocations: 3.395 MB / 0.6238 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4986, allocations: 0 / 0.6238 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.499, allocations: 63.91 kB / 0.6238 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/0.5022, allocations: 1.088 MB / 0.6249 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.788e-05/0.5023, allocations: 8 kB / 0.6249 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007271/0.5096, allocations: 4.141 MB / 0.6289 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5096, allocations: 96 / 0.6289 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006737/0.5164, allocations: 2.909 MB / 0.6318 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.5167, allocations: 183.9 kB / 0.6319 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.5168, allocations: 12 kB / 0.632 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007569/0.5176, allocations: 71.94 kB / 0.632 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/0.5179, allocations: 120.3 kB / 0.6321 GB, free: 2.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.5179, allocations: 16 kB / 0.6322 GB, free: 2.895 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005253/0.5185, allocations: 0.5147 MB / 0.6327 GB, free: 2.383 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5185, allocations: 4 kB / 0.6327 GB, free: 2.379 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008266/0.5193, allocations: 299.7 kB / 0.6329 GB, free: 2.086 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * 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 (40): * Single equations (assignments): 37 * 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.0002014/0.5195, allocations: 115.2 kB / 0.6331 GB, free: 1.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00415/0.5237, allocations: 1.911 MB / 0.6349 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5237, allocations: 0 / 0.6349 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002985/0.5267, allocations: 1.208 MB / 0.6361 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.5274, allocations: 55 kB / 0.6362 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.5301, allocations: 1.884 MB / 0.638 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.5306, allocations: 0.9498 MB / 0.6389 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002911/0.5309, allocations: 69.12 kB / 0.639 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.5311, allocations: 51.42 kB / 0.639 GB, free: 11.67 MB / 446.1 MB Notification: Performance of SimCode: time 6.02e-07/0.5311, allocations: 0 / 0.639 GB, free: 11.67 MB / 446.1 MB Notification: Performance of Templates: time 0.02089/0.552, allocations: 13.01 MB / 0.6517 GB, free: 14.68 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.sim & ./OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.KundurSMIB.SMIB.pipe 2>&1)