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.0009553/0.0009553, allocations: 91.77 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.35/1.35, allocations: 223.3 MB / 240 MB, free: 5.516 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: 183.5 kB / 291.3 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5046/0.5046, allocations: 91.93 MB / 434.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003844, allocations: 12 kB / 0.5054 GB, free: 7.246 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3846, allocations: 72.47 MB / 0.5762 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.003635/0.3883, allocations: 4.768 MB / 0.5808 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.3904, allocations: 1.627 MB / 0.5824 GB, free: 32.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.3907, allocations: 5.656 kB / 0.5824 GB, free: 32.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002843/0.3909, allocations: 120 kB / 0.5825 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.392, allocations: 0.5803 MB / 0.5831 GB, free: 32.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.3926, allocations: 390.9 kB / 0.5835 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007059/0.3934, allocations: 1.01 MB / 0.5845 GB, free: 31.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.3936, allocations: 196.6 kB / 0.5847 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.3939, allocations: 385.9 kB / 0.585 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.3944, allocations: 0.4937 MB / 0.5855 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.893e-05/0.3945, allocations: 44.66 kB / 0.5855 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.3947, allocations: 171.8 kB / 0.5857 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.3949, allocations: 179.4 kB / 0.5859 GB, free: 30.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.3951, allocations: 440.9 kB / 0.5863 GB, free: 30.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006097/0.3957, allocations: 0.9462 MB / 0.5872 GB, free: 30.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3957, allocations: 4 kB / 0.5872 GB, free: 30.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3958, allocations: 0 / 0.5872 GB, free: 30.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3958, allocations: 0 / 0.5872 GB, free: 30.3 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.004675/0.4005, allocations: 1.625 MB / 0.5888 GB, free: 29.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4005, allocations: 10.88 kB / 0.5888 GB, free: 29.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.4037, allocations: 0.5282 MB / 0.5893 GB, free: 29.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/0.4046, allocations: 0.6479 MB / 0.59 GB, free: 28.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.4048, allocations: 152 kB / 0.5901 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.4049, allocations: 53.44 kB / 0.5902 GB, free: 28.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.4063, allocations: 0.6969 MB / 0.5909 GB, free: 28.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4064, allocations: 0 / 0.5909 GB, free: 28.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.4064, allocations: 20.56 kB / 0.5909 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.4065, allocations: 11.38 kB / 0.5909 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.4078, allocations: 0.6661 MB / 0.5915 GB, free: 28.28 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.004012/0.4118, allocations: 2.662 MB / 0.5941 GB, free: 26.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01413/0.4259, allocations: 3.778 MB / 0.5978 GB, free: 26.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.427, allocations: 486.6 kB / 0.5983 GB, free: 25.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.54e-05/0.4271, allocations: 10.14 kB / 0.5983 GB, free: 25.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.4272, allocations: 38.84 kB / 0.5983 GB, free: 25.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 2.875e-06/0.4272, allocations: 0 / 0.5983 GB, free: 25.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01502/0.4422, allocations: 4.234 MB / 0.6025 GB, free: 24.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.4423, allocations: 57.38 kB / 0.6025 GB, free: 24.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.4435, allocations: 0.7708 MB / 0.6033 GB, free: 24.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.4436, allocations: 40.52 kB / 0.6033 GB, free: 24.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.4439, allocations: 346.3 kB / 0.6036 GB, free: 24.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.4441, allocations: 215.8 kB / 0.6038 GB, free: 23.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.4442, allocations: 86.58 kB / 0.6039 GB, free: 23.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4444, allocations: 397.3 kB / 0.6043 GB, free: 23.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.4455, allocations: 0.532 MB / 0.6048 GB, free: 23.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.4467, allocations: 0.6333 MB / 0.6054 GB, free: 23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/0.4635, allocations: 3.804 MB / 0.6092 GB, free: 21.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.4635, allocations: 0 / 0.6092 GB, free: 21.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.009269/0.4728, allocations: 2.745 MB / 0.6118 GB, free: 21.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.4729, allocations: 5.406 kB / 0.6118 GB, free: 21.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.4729, allocations: 6.031 kB / 0.6119 GB, free: 21.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005119/0.478, allocations: 1.198 MB / 0.613 GB, free: 20.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/0.4789, allocations: 151.5 kB / 0.6132 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/0.4901, allocations: 5.113 MB / 0.6182 GB, free: 17.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.4913, allocations: 132.8 kB / 0.6183 GB, free: 17.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/0.4914, allocations: 31.23 kB / 0.6183 GB, free: 17.8 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.0004456/0.4919, allocations: 222.7 kB / 0.6185 GB, free: 17.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.4921, allocations: 79.72 kB / 0.6186 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006157/0.4982, allocations: 2.299 MB / 0.6209 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4982, allocations: 4 kB / 0.6209 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4983, allocations: 4 kB / 0.6209 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4983, allocations: 7.984 kB / 0.6209 GB, free: 15.41 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.006817/0.5051, allocations: 3.392 MB / 0.6242 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5051, allocations: 3.938 kB / 0.6242 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000416/0.5055, allocations: 59.97 kB / 0.6242 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003145/0.5087, allocations: 1.089 MB / 0.6253 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.5088, allocations: 12 kB / 0.6253 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007512/0.5163, allocations: 4.124 MB / 0.6293 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5163, allocations: 8 kB / 0.6293 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006766/0.5231, allocations: 2.897 MB / 0.6322 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.5233, allocations: 184 kB / 0.6324 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.5234, allocations: 20.11 kB / 0.6324 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007792/0.5242, allocations: 75.94 kB / 0.6324 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.5245, allocations: 112.3 kB / 0.6326 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.5245, allocations: 20 kB / 0.6326 GB, free: 3.148 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005456/0.5251, allocations: 0.5263 MB / 0.6331 GB, free: 2.625 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5251, allocations: 0 / 0.6331 GB, free: 2.625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008746/0.5259, allocations: 303.7 kB / 0.6334 GB, free: 2.328 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.0002012/0.5262, allocations: 119.2 kB / 0.6335 GB, free: 2.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004111/0.5303, allocations: 1.91 MB / 0.6354 GB, free: 240 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5303, allocations: 0 / 0.6354 GB, free: 240 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002864/0.5332, allocations: 1.197 MB / 0.6365 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.5337, allocations: 63 kB / 0.6366 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.5365, allocations: 1.905 MB / 0.6384 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.537, allocations: 0.9498 MB / 0.6394 GB, free: 12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.5373, allocations: 55.42 kB / 0.6394 GB, free: 11.95 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5373, allocations: 3.938 kB / 0.6394 GB, free: 11.95 MB / 446.1 MB Notification: Performance of Templates: time 0.02434/0.5616, allocations: 20.34 MB / 0.6593 GB, free: 7.594 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)