Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 123.6 kB / 17.78 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 189.2 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 249.1 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1859/0.1859, allocations: 38.51 MB / 342.5 MB, free: 8.188 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_IG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003259/0.003259, allocations: 67.8 kB / 478.6 MB, free: 33.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1436, allocations: 61.26 MB / 0.5272 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01059/0.1542, allocations: 8.17 MB / 0.5352 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009277/0.1635, allocations: 5.507 MB / 0.5406 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007378/0.1642, allocations: 31.81 kB / 0.5406 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01048/0.1747, allocations: 5.259 MB / 0.5457 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.1769, allocations: 0.8441 MB / 0.5466 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.1782, allocations: 0.4913 MB / 0.547 GB, free: 13.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003595/0.1818, allocations: 2.522 MB / 0.5495 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008505/0.1826, allocations: 0.505 MB / 0.55 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.1839, allocations: 0.7784 MB / 0.5508 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.1857, allocations: 1.118 MB / 0.5519 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.1859, allocations: 104 kB / 0.5519 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008623/0.1868, allocations: 391.5 kB / 0.5523 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007361/0.1875, allocations: 0.6661 MB / 0.553 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007726/0.1883, allocations: 0.692 MB / 0.5536 GB, free: 6.352 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.1905, allocations: 1.724 MB / 0.5553 GB, free: 4.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1905, allocations: 0 / 0.5553 GB, free: 4.621 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1905, allocations: 0 / 0.5553 GB, free: 4.621 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.607e-05/0.1905, allocations: 0 / 0.5553 GB, free: 4.621 MB / 414.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.003592/0.1941, allocations: 1.63 MB / 0.5569 GB, free: 2.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1941, allocations: 15.89 kB / 0.5569 GB, free: 2.922 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/0.1944, allocations: 165.2 kB / 0.5571 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.1956, allocations: 215.9 kB / 0.5573 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.1978, allocations: 0.969 MB / 0.5582 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.1978, allocations: 73.98 kB / 0.5583 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004772/0.1983, allocations: 179.9 kB / 0.5585 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.2009, allocations: 1.564 MB / 0.56 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.2009, allocations: 15.94 kB / 0.56 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.201, allocations: 39.98 kB / 0.5601 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005723/0.2016, allocations: 149.9 kB / 0.5602 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.2037, allocations: 1.253 MB / 0.5614 GB, free: 14.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 preOpt removeSimpleEquations (simulation): time 0.009486/0.2132, allocations: 6.459 MB / 0.5677 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.2148, allocations: 0.8789 MB / 0.5686 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007987/0.2156, allocations: 488.5 kB / 0.5691 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.981e-05/0.2157, allocations: 24.91 kB / 0.5691 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.2157, allocations: 47.56 kB / 0.5691 GB, free: 5.871 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 3.055e-06/0.2157, allocations: 0 / 0.5691 GB, free: 5.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006858/0.2226, allocations: 3.7 MB / 0.5728 GB, free: 2.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/0.2227, allocations: 90.23 kB / 0.5728 GB, free: 1.926 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009579/0.2236, allocations: 0.7235 MB / 0.5735 GB, free: 1.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.12e-05/0.2237, allocations: 45.7 kB / 0.5736 GB, free: 1.145 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000454/0.2241, allocations: 0.5744 MB / 0.5742 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003333/0.2245, allocations: 384.7 kB / 0.5745 GB, free: 188 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.2249, allocations: 230.9 kB / 0.5747 GB, free: 15.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002466/0.2251, allocations: 414.7 kB / 0.5751 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009636/0.2261, allocations: 0.5647 MB / 0.5757 GB, free: 14.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.2273, allocations: 0.8815 MB / 0.5765 GB, free: 13.96 MB / 446.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.008534/0.2358, allocations: 3.236 MB / 0.5797 GB, free: 10.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.2358, allocations: 4 kB / 0.5797 GB, free: 10.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006104/0.2419, allocations: 2.69 MB / 0.5823 GB, free: 7.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.2419, allocations: 15.94 kB / 0.5824 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.242, allocations: 8 kB / 0.5824 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003036/0.245, allocations: 1.16 MB / 0.5835 GB, free: 6.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008693/0.2459, allocations: 199.7 kB / 0.5837 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/0.265, allocations: 12.3 MB / 0.5957 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009387/0.266, allocations: 51.95 kB / 0.5957 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.2661, allocations: 52 kB / 0.5958 GB, free: 9.809 MB / 462.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.0007165/0.2668, allocations: 396.2 kB / 0.5962 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.267, allocations: 103.3 kB / 0.5963 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.2694, allocations: 1.415 MB / 0.5977 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.2694, allocations: 8 kB / 0.5977 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.2694, allocations: 4 kB / 0.5977 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.2694, allocations: 7.984 kB / 0.5977 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/0.2743, allocations: 2.66 MB / 0.6003 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2744, allocations: 0 / 0.6003 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/0.2759, allocations: 271.7 kB / 0.6005 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.2761, allocations: 61.83 kB / 0.6006 GB, free: 4.711 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.674e-05/0.2762, allocations: 43.97 kB / 0.6006 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.2788, allocations: 2.839 MB / 0.6034 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.2788, allocations: 7.938 kB / 0.6034 GB, free: 1.543 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2531/0.5319, allocations: 1.893 MB / 0.6053 GB, free: 72.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008613/0.5327, allocations: 258.6 kB / 0.6055 GB, free: 71.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.5329, allocations: 37.75 kB / 0.6055 GB, free: 71.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/0.5336, allocations: 42.73 kB / 0.6056 GB, free: 71.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.5339, allocations: 69.28 kB / 0.6056 GB, free: 71.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/0.534, allocations: 28.92 kB / 0.6057 GB, free: 71.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009084/0.5349, allocations: 497.8 kB / 0.6062 GB, free: 71.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5349, allocations: 0.7812 kB / 0.6062 GB, free: 71.84 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001561/0.5364, allocations: 379.4 kB / 0.6065 GB, free: 71.84 MB / 462.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.00338/0.5398, allocations: 2.478 MB / 0.6089 GB, free: 70.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.5442, allocations: 2.037 MB / 0.6109 GB, free: 70.49 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.5442, allocations: 0 / 0.6109 GB, free: 70.49 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.5454, allocations: 0.7403 MB / 0.6116 GB, free: 70.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.5465, allocations: 226.7 kB / 0.6119 GB, free: 70.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/0.5701, allocations: 13.92 MB / 0.6255 GB, free: 63.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/0.5709, allocations: 1.304 MB / 0.6267 GB, free: 62.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008173/0.5717, allocations: 313.8 kB / 0.627 GB, free: 62.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004919/0.5722, allocations: 457.1 kB / 0.6275 GB, free: 62.36 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5722, allocations: 0 / 0.6275 GB, free: 62.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06001/0.6322, allocations: 30.55 MB / 0.6573 GB, free: 34.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.04, allocations: 14.61 kB / 0.6573 GB, free: 34.65 MB / 462.1 MB " [Timeout remaining time 645] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Wind_WindTurbine_IG.fmu > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.960517862811685] Failed to read output from testmodel.py, exit status != 0: 15.153028341941535 15.170463374 14.976326219 Calling exit ...