Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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/Complex 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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 111.5 kB / 17.29 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003209/0.003209, allocations: 193.3 kB / 18.21 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.174/3.174, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4584/0.4584, allocations: 38.02 MB / 330.1 MB, free: 8.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002713, allocations: 65.02 kB / 398.9 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2306, allocations: 58.07 MB / 457 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.02447/0.2552, allocations: 13.06 MB / 470 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02505/0.2803, allocations: 7.679 MB / 477.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004402/0.2848, allocations: 95.38 kB / 477.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04067/0.3255, allocations: 13.32 MB / 491.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006169/0.3317, allocations: 1.051 MB / 492.2 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003484/0.3353, allocations: 0.628 MB / 492.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00999/0.3453, allocations: 4.106 MB / 496.9 MB, free: 388 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.3482, allocations: 1.032 MB / 498 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/0.3521, allocations: 1.14 MB / 499.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00402/0.3562, allocations: 1.546 MB / 0.4889 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005695/0.3568, allocations: 152 kB / 0.4891 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.359, allocations: 0.5149 MB / 0.4896 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001595/0.3606, allocations: 0.9156 MB / 0.4905 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002/0.3626, allocations: 0.9873 MB / 0.4914 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003793/0.3664, allocations: 1.945 MB / 0.4933 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-05/0.3665, allocations: 4 kB / 0.4933 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.3665, allocations: 4 kB / 0.4933 GB, free: 8.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.236e-05/0.3665, allocations: 0 / 0.4933 GB, free: 8.098 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.007248/0.3738, allocations: 2.228 MB / 0.4955 GB, free: 5.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.996e-05/0.3739, allocations: 11.89 kB / 0.4955 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/0.3768, allocations: 334.3 kB / 0.4958 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004118/0.3809, allocations: 1.276 MB / 0.4971 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.3811, allocations: 102.7 kB / 0.4972 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008629/0.382, allocations: 239.8 kB / 0.4974 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005344/0.3873, allocations: 2.192 MB / 0.4995 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-05/0.3874, allocations: 11.84 kB / 0.4996 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002208/0.3877, allocations: 55.98 kB / 0.4996 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009407/0.3886, allocations: 186.8 kB / 0.4998 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5866/0.9752, allocations: 1.829 MB / 0.5016 GB, free: 57.24 MB / 382.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.02793/1.003, allocations: 8.568 MB / 0.5099 GB, free: 52.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005467/1.009, allocations: 1.905 MB / 0.5118 GB, free: 51.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003332/1.013, allocations: 0.8001 MB / 0.5126 GB, free: 50.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/1.013, allocations: 20.83 kB / 0.5126 GB, free: 50.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.398e-05/1.013, allocations: 56.52 kB / 0.5127 GB, free: 50.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 8.085e-06/1.013, allocations: 0 / 0.5127 GB, free: 50.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.02436/1.037, allocations: 5.947 MB / 0.5185 GB, free: 48.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.038, allocations: 97.27 kB / 0.5186 GB, free: 47.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004865/1.042, allocations: 1.064 MB / 0.5196 GB, free: 47.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003579/1.043, allocations: 50.92 kB / 0.5196 GB, free: 47.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.044, allocations: 0.7903 MB / 0.5204 GB, free: 46.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009904/1.045, allocations: 0.5273 MB / 0.5209 GB, free: 46.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/1.047, allocations: 325.3 kB / 0.5212 GB, free: 46.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/1.047, allocations: 302.4 kB / 0.5215 GB, free: 46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/1.049, allocations: 0.7406 MB / 0.5223 GB, free: 45.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/1.052, allocations: 1.228 MB / 0.5235 GB, free: 44.94 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/1.068, allocations: 4.345 MB / 0.5277 GB, free: 42.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.952e-05/1.069, allocations: 3.562 kB / 0.5277 GB, free: 42.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01309/1.082, allocations: 3.978 MB / 0.5316 GB, free: 39.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.17e-05/1.082, allocations: 13.09 kB / 0.5316 GB, free: 39.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.867e-05/1.082, allocations: 12 kB / 0.5316 GB, free: 39.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005554/1.087, allocations: 1.459 MB / 0.533 GB, free: 38.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/1.089, allocations: 291.5 kB / 0.5333 GB, free: 38.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03515/1.124, allocations: 20.97 MB / 0.5538 GB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/1.127, allocations: 91.94 kB / 0.5539 GB, free: 16.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006128/1.128, allocations: 72 kB / 0.5539 GB, free: 15.97 MB / 382.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.002095/1.13, allocations: 0.5247 MB / 0.5545 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008626/1.131, allocations: 150.2 kB / 0.5546 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006048/1.137, allocations: 2.217 MB / 0.5568 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/1.137, allocations: 12 kB / 0.5568 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-05/1.137, allocations: 4 kB / 0.5568 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.451e-05/1.137, allocations: 11.97 kB / 0.5568 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.148, allocations: 3.983 MB / 0.5607 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.159e-05/1.148, allocations: 4 kB / 0.5607 GB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.151, allocations: 339.9 kB / 0.561 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008065/1.151, allocations: 217 kB / 0.5612 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002478/1.152, allocations: 50.48 kB / 0.5613 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006909/1.159, allocations: 7.932 MB / 0.569 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-05/1.159, allocations: 7.938 kB / 0.569 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008776/1.167, allocations: 2.924 MB / 0.5719 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.169, allocations: 339.2 kB / 0.5722 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007615/1.17, allocations: 47.98 kB / 0.5722 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/1.172, allocations: 63.84 kB / 0.5723 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005001/1.172, allocations: 105 kB / 0.5724 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/1.172, allocations: 43.98 kB / 0.5724 GB, free: 11.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002325/1.175, allocations: 0.71 MB / 0.5731 GB, free: 11.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/1.175, allocations: 0 / 0.5731 GB, free: 11.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004446/1.179, allocations: 0.5425 MB / 0.5737 GB, free: 10.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],inverter2.vDC1,line.v[1,2],line.v[1,3],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],PI.x) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008453/1.18, allocations: 190.8 kB / 0.5738 GB, free: 10.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01279/1.193, allocations: 4.203 MB / 0.578 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/1.193, allocations: 0 / 0.578 GB, free: 6.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00372/1.197, allocations: 1.407 MB / 0.5793 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/1.201, allocations: 335.7 kB / 0.5796 GB, free: 4.422 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01852/1.219, allocations: 6.009 MB / 0.5855 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003553/1.223, allocations: 1.576 MB / 0.5871 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.224, allocations: 123.4 kB / 0.5872 GB, free: 12.64 MB / 414.1 MB Notification: Performance of SimCode: time 2.154e-06/1.224, allocations: 0 / 0.5872 GB, free: 12.64 MB / 414.1 MB Notification: Performance of Templates: time 0.143/1.367, allocations: 58.98 MB / 0.6448 GB, free: 1.637 MB / 462.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1)