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.001467/0.001467, allocations: 108 kB / 15.61 MB, free: 152 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.456/1.456, allocations: 222.9 MB / 239.2 MB, free: 4.598 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.00182/0.00182, allocations: 188.5 kB / 289.5 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5802/0.5802, allocations: 92.6 MB / 432.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 79.86 kB / 0.5027 GB, free: 6.922 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3812, allocations: 71.4 MB / 0.5724 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.KundurSMIB.SMIB): time 0.004334/0.3856, allocations: 4.915 MB / 0.5772 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.3883, allocations: 1.598 MB / 0.5788 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.3886, allocations: 8.375 kB / 0.5788 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.389, allocations: 161.1 kB / 0.5789 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.3903, allocations: 0.6373 MB / 0.5796 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.391, allocations: 430.4 kB / 0.58 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008913/0.3919, allocations: 1.07 MB / 0.581 GB, free: 31.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.3922, allocations: 214.5 kB / 0.5812 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004516/0.3927, allocations: 452.8 kB / 0.5817 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.3932, allocations: 0.5542 MB / 0.5822 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.3934, allocations: 99.47 kB / 0.5823 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.3938, allocations: 229.7 kB / 0.5825 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.394, allocations: 225.5 kB / 0.5827 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.3943, allocations: 487.4 kB / 0.5832 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009397/0.3953, allocations: 1.251 MB / 0.5844 GB, free: 29.56 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3953, allocations: 0 / 0.5844 GB, free: 29.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3953, allocations: 0.5312 kB / 0.5844 GB, free: 29.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.3953, allocations: 0 / 0.5844 GB, free: 29.56 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.004809/0.4001, allocations: 1.754 MB / 0.5861 GB, free: 28.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4002, allocations: 8.781 kB / 0.5861 GB, free: 28.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003024/0.4032, allocations: 0.5157 MB / 0.5866 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/0.404, allocations: 0.6497 MB / 0.5873 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.4042, allocations: 146.1 kB / 0.5874 GB, free: 27.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.4043, allocations: 49.72 kB / 0.5875 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.4055, allocations: 0.6584 MB / 0.5881 GB, free: 27.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.4055, allocations: 5.25 kB / 0.5881 GB, free: 27.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.4056, allocations: 23.86 kB / 0.5881 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.4056, allocations: 11.78 kB / 0.5881 GB, free: 27.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.4068, allocations: 0.6327 MB / 0.5888 GB, free: 27.45 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.003963/0.4108, allocations: 2.631 MB / 0.5913 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/0.4231, allocations: 2.812 MB / 0.5941 GB, free: 25.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.4246, allocations: 455.2 kB / 0.5945 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.112e-05/0.4247, allocations: 6.875 kB / 0.5945 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.4247, allocations: 38.5 kB / 0.5945 GB, free: 25.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=57): time 4.669e-06/0.4247, allocations: 0 / 0.5945 GB, free: 25.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=57): time 0.01376/0.4385, allocations: 3.53 MB / 0.598 GB, free: 24.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.4385, allocations: 63.3 kB / 0.5981 GB, free: 24.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4397, allocations: 0.761 MB / 0.5988 GB, free: 23.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.4399, allocations: 37.05 kB / 0.5988 GB, free: 23.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.4401, allocations: 358.6 kB / 0.5992 GB, free: 23.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.4403, allocations: 211.5 kB / 0.5994 GB, free: 23.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.4406, allocations: 167.8 kB / 0.5995 GB, free: 23.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4407, allocations: 399.7 kB / 0.5999 GB, free: 22.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009718/0.4417, allocations: 0.4924 MB / 0.6004 GB, free: 22.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.4428, allocations: 0.5959 MB / 0.601 GB, free: 22.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/0.4579, allocations: 3.559 MB / 0.6045 GB, free: 21.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4579, allocations: 1.219 kB / 0.6045 GB, free: 21.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.007167/0.4651, allocations: 2.4 MB / 0.6068 GB, free: 20.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.4651, allocations: 5.969 kB / 0.6068 GB, free: 20.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.4652, allocations: 2.812 kB / 0.6068 GB, free: 20.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004233/0.4694, allocations: 1.049 MB / 0.6078 GB, free: 20.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008357/0.4703, allocations: 148.2 kB / 0.608 GB, free: 20.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.4814, allocations: 5.072 MB / 0.6129 GB, free: 17.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.4827, allocations: 113.4 kB / 0.613 GB, free: 17.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.4829, allocations: 32.28 kB / 0.6131 GB, free: 17.43 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.0005905/0.4835, allocations: 219.7 kB / 0.6133 GB, free: 17.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.4838, allocations: 81.83 kB / 0.6134 GB, free: 17.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005838/0.4896, allocations: 1.939 MB / 0.6153 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4896, allocations: 10.2 kB / 0.6153 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.4897, allocations: 8.156 kB / 0.6153 GB, free: 16.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4897, allocations: 0 / 0.6153 GB, free: 16.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 postOpt removeSimpleEquations (simulation): time 0.007264/0.497, allocations: 3.041 MB / 0.6182 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.497, allocations: 5.438 kB / 0.6182 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.4974, allocations: 64.88 kB / 0.6183 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003008/0.5005, allocations: 0.9416 MB / 0.6192 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.404e-05/0.5006, allocations: 12 kB / 0.6192 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00741/0.508, allocations: 4.112 MB / 0.6233 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.508, allocations: 0 / 0.6233 GB, free: 8.953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00639/0.5144, allocations: 2.514 MB / 0.6257 GB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.5148, allocations: 179.9 kB / 0.6259 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.5151, allocations: 16.12 kB / 0.6259 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008671/0.5159, allocations: 51.94 kB / 0.6259 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/0.5163, allocations: 128.3 kB / 0.6261 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.5163, allocations: 12 kB / 0.6261 GB, free: 6.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006576/0.517, allocations: 0.5225 MB / 0.6266 GB, free: 5.496 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.517, allocations: 0 / 0.6266 GB, free: 5.496 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001095/0.5181, allocations: 295.7 kB / 0.6269 GB, free: 5.207 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.0002417/0.5184, allocations: 121 kB / 0.627 GB, free: 5.078 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004322/0.5227, allocations: 1.761 MB / 0.6287 GB, free: 3.254 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5227, allocations: 0 / 0.6287 GB, free: 3.254 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002508/0.5252, allocations: 1.08 MB / 0.6298 GB, free: 2.117 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00086/0.5261, allocations: 64.81 kB / 0.6298 GB, free: 2.059 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.529, allocations: 1.528 MB / 0.6313 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.5296, allocations: 0.9421 MB / 0.6322 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003572/0.53, allocations: 65.14 kB / 0.6323 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.5302, allocations: 51.42 kB / 0.6323 GB, free: 15.42 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5303, allocations: 0 / 0.6323 GB, free: 15.42 MB / 446.1 MB Notification: Performance of Templates: time 0.03042/0.5607, allocations: 14.33 MB / 0.6463 GB, free: 1.117 MB / 446.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)