Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.001247/0.001248, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.302/1.302, allocations: 222.9 MB / 241.6 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1691/0.1691, allocations: 38.01 MB / 329.7 MB, free: 8.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 66.69 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08695/0.08815, allocations: 58.07 MB / 457 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.008604/0.09678, allocations: 8.085 MB / 465 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007375/0.1042, allocations: 5.483 MB / 470.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004253/0.1046, allocations: 31.81 kB / 470.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008873/0.1135, allocations: 5.234 MB / 475.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.1153, allocations: 0.8363 MB / 476.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.1165, allocations: 0.4912 MB / 477.1 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00277/0.1192, allocations: 2.519 MB / 479.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008038/0.1201, allocations: 0.6299 MB / 480.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008826/0.121, allocations: 0.7589 MB / 481 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.1221, allocations: 1.028 MB / 482.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.1223, allocations: 108 kB / 482.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006814/0.123, allocations: 375.5 kB / 482.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005472/0.1236, allocations: 0.6508 MB / 483.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006869/0.1243, allocations: 0.692 MB / 483.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.1259, allocations: 1.694 MB / 485.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1259, allocations: 0 / 485.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.126, allocations: 0 / 485.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.133e-05/0.126, allocations: 4 kB / 485.6 MB, free: 11.24 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003067/0.1291, allocations: 1.599 MB / 487.2 MB, free: 9.586 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1291, allocations: 11.89 kB / 487.2 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.1293, allocations: 165.2 kB / 487.3 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.1305, allocations: 211.1 kB / 487.5 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.1321, allocations: 0.9254 MB / 488.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/0.1322, allocations: 73.98 kB / 488.5 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004003/0.1326, allocations: 191.7 kB / 488.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.1347, allocations: 1.56 MB / 490.3 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.1347, allocations: 11.94 kB / 490.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.1348, allocations: 35.98 kB / 490.3 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006115/0.1355, allocations: 161.9 kB / 490.5 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.1376, allocations: 1.249 MB / 491.7 MB, free: 4.863 MB / 366.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.007979/0.1455, allocations: 6.489 MB / 498.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/0.147, allocations: 0.9127 MB / 499.1 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007152/0.1477, allocations: 0.5044 MB / 499.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.019e-05/0.1478, allocations: 13 kB / 499.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.1478, allocations: 47.55 kB / 499.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 4.489e-06/0.1478, allocations: 3.984 kB / 499.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.006201/0.154, allocations: 3.671 MB / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.1541, allocations: 90.09 kB / 0.4917 GB, free: 8.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/0.1549, allocations: 0.7312 MB / 0.4924 GB, free: 7.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/0.155, allocations: 45.69 kB / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.1554, allocations: 0.5536 MB / 0.493 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.1557, allocations: 366.7 kB / 0.4933 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/0.156, allocations: 238.8 kB / 0.4935 GB, free: 6.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1562, allocations: 414.7 kB / 0.4939 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008337/0.1571, allocations: 0.5647 MB / 0.4945 GB, free: 5.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.1581, allocations: 0.8776 MB / 0.4954 GB, free: 4.613 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.007847/0.166, allocations: 3.251 MB / 0.4985 GB, free: 1.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.166, allocations: 4 kB / 0.4985 GB, free: 1.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.1859/0.3519, allocations: 2.727 MB / 0.5012 GB, free: 55.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.3519, allocations: 8 kB / 0.5012 GB, free: 55.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.3519, allocations: 9.344 kB / 0.5012 GB, free: 55.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/0.3547, allocations: 1.163 MB / 0.5023 GB, free: 55.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008515/0.3556, allocations: 199.4 kB / 0.5025 GB, free: 55.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01795/0.3736, allocations: 12.29 MB / 0.5145 GB, free: 50.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008788/0.3745, allocations: 56.64 kB / 0.5146 GB, free: 50.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.3746, allocations: 61.19 kB / 0.5146 GB, free: 50.06 MB / 382.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0007436/0.3753, allocations: 405.8 kB / 0.515 GB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.3755, allocations: 97.48 kB / 0.5151 GB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/0.3779, allocations: 1.405 MB / 0.5165 GB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.3779, allocations: 16.33 kB / 0.5165 GB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3779, allocations: 1.688 kB / 0.5165 GB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.3779, allocations: 7.594 kB / 0.5165 GB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.3816, allocations: 2.66 MB / 0.5191 GB, free: 47.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3816, allocations: 1.25 kB / 0.5191 GB, free: 47.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/0.383, allocations: 277.4 kB / 0.5194 GB, free: 47.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/0.3832, allocations: 56.17 kB / 0.5194 GB, free: 47.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.149e-05/0.3833, allocations: 38.98 kB / 0.5195 GB, free: 47.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.3847, allocations: 2.836 MB / 0.5223 GB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3847, allocations: 10.44 kB / 0.5223 GB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.387, allocations: 1.893 MB / 0.5241 GB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.3873, allocations: 260.9 kB / 0.5244 GB, free: 43.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.3874, allocations: 39.55 kB / 0.5244 GB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.388, allocations: 39.36 kB / 0.5244 GB, free: 43.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.3881, allocations: 67.38 kB / 0.5245 GB, free: 43.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-05/0.3882, allocations: 23.44 kB / 0.5245 GB, free: 43.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004385/0.3886, allocations: 0.496 MB / 0.525 GB, free: 43.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3886, allocations: 0 / 0.525 GB, free: 43.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001145/0.3898, allocations: 377.1 kB / 0.5254 GB, free: 43.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.002226/0.392, allocations: 2.47 MB / 0.5278 GB, free: 41.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00371/0.3957, allocations: 2.578 MB / 0.5303 GB, free: 39.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3957, allocations: 0 / 0.5303 GB, free: 39.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008384/0.3966, allocations: 0.7607 MB / 0.531 GB, free: 38.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008644/0.3975, allocations: 225.3 kB / 0.5313 GB, free: 38.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/0.4149, allocations: 14.29 MB / 0.5452 GB, free: 24.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.4155, allocations: 1.306 MB / 0.5465 GB, free: 22.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000828/0.4164, allocations: 312 kB / 0.5468 GB, free: 22.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/0.4168, allocations: 459.3 kB / 0.5472 GB, free: 21.94 MB / 382.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4168, allocations: 0 / 0.5472 GB, free: 21.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04848/0.4653, allocations: 29.81 MB / 0.5763 GB, free: 8.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.68, allocations: 12.03 kB / 0.5763 GB, free: 8.305 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)