Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002676/0.002683, allocations: 365.7 kB / 17.22 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.728/3.728, allocations: 388.9 MB / 406.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003549/0.003549, allocations: 229.7 kB / 452.2 MB, free: 14.6 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7321/0.7321, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004572, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09012/0.0906, allocations: 53.23 MB / 0.6742 GB, free: 60.95 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.0098/0.1005, allocations: 8.042 MB / 0.6821 GB, free: 52.87 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.1107, allocations: 5.356 MB / 0.6873 GB, free: 47.5 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.1118, allocations: 55.62 kB / 0.6874 GB, free: 47.45 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01066/0.1224, allocations: 4.507 MB / 0.6918 GB, free: 42.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.1245, allocations: 0.6374 MB / 0.6924 GB, free: 42.29 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.1257, allocations: 351.2 kB / 0.6927 GB, free: 41.95 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003286/0.129, allocations: 2.467 MB / 0.6951 GB, free: 39.47 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.1309, allocations: 1.135 MB / 0.6962 GB, free: 38.29 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007842/0.1317, allocations: 0.4979 MB / 0.6967 GB, free: 37.79 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.1328, allocations: 0.693 MB / 0.6974 GB, free: 37.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.133, allocations: 52 kB / 0.6975 GB, free: 37.04 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007411/0.1337, allocations: 291.4 kB / 0.6977 GB, free: 36.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.1342, allocations: 430.9 kB / 0.6981 GB, free: 36.33 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.1344, allocations: 233.1 kB / 0.6984 GB, free: 36.1 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.1359, allocations: 1.348 MB / 0.6997 GB, free: 34.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1359, allocations: 0 / 0.6997 GB, free: 34.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1359, allocations: 0 / 0.6997 GB, free: 34.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.1359, allocations: 4 kB / 0.6997 GB, free: 34.74 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003158/0.1391, allocations: 1.239 MB / 0.7009 GB, free: 33.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1391, allocations: 8.031 kB / 0.7009 GB, free: 33.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009785/0.1401, allocations: 158.5 kB / 0.7011 GB, free: 33.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.1424, allocations: 0.9096 MB / 0.7019 GB, free: 32.33 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.474e-05/0.1425, allocations: 57.98 kB / 0.702 GB, free: 32.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.1427, allocations: 88 kB / 0.7021 GB, free: 32.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.1449, allocations: 1.063 MB / 0.7031 GB, free: 31.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/0.1449, allocations: 7.844 kB / 0.7031 GB, free: 31.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.1451, allocations: 35.98 kB / 0.7032 GB, free: 31.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003353/0.1454, allocations: 81.89 kB / 0.7032 GB, free: 30.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.1473, allocations: 0.8236 MB / 0.704 GB, free: 30.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007055/0.1544, allocations: 4.012 MB / 0.708 GB, free: 25.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.1557, allocations: 0.6172 MB / 0.7086 GB, free: 25.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005992/0.1563, allocations: 315.6 kB / 0.7089 GB, free: 24.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-05/0.1564, allocations: 4.562 kB / 0.7089 GB, free: 24.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1565, allocations: 39.12 kB / 0.7089 GB, free: 24.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 3.898e-06/0.1565, allocations: 3.984 kB / 0.7089 GB, free: 24.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.00767/0.1642, allocations: 3.106 MB / 0.7119 GB, free: 21.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1642, allocations: 107.4 kB / 0.712 GB, free: 21.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.1653, allocations: 0.6839 MB / 0.7127 GB, free: 20.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.7e-05/0.1654, allocations: 41.7 kB / 0.7128 GB, free: 20.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000331/0.1657, allocations: 483 kB / 0.7132 GB, free: 20.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/0.1659, allocations: 236.6 kB / 0.7134 GB, free: 20.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.166, allocations: 16 kB / 0.7135 GB, free: 20.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1661, allocations: 395.1 kB / 0.7138 GB, free: 19.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000693/0.1668, allocations: 309.8 kB / 0.7141 GB, free: 19.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008169/0.1677, allocations: 0.5188 MB / 0.7146 GB, free: 18.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004663/0.1724, allocations: 0.9786 MB / 0.7156 GB, free: 17.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.1724, allocations: 0 / 0.7156 GB, free: 17.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003345/0.1757, allocations: 1.307 MB / 0.7169 GB, free: 16.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.1758, allocations: 37.69 kB / 0.7169 GB, free: 16.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.1758, allocations: 8 kB / 0.7169 GB, free: 16.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001702/0.1775, allocations: 401.6 kB / 0.7173 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009569/0.1785, allocations: 155.7 kB / 0.7174 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/0.1925, allocations: 5.731 MB / 0.723 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.1938, allocations: 31.92 kB / 0.7231 GB, free: 9.785 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.1939, allocations: 36 kB / 0.7231 GB, free: 9.75 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.windGen.WT.gear.w = $DER.windGen.WT.genRotor.w. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * 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 initialization (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0009426/0.1949, allocations: 353.5 kB / 0.7234 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.1951, allocations: 82.97 kB / 0.7235 GB, free: 9.312 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/0.1985, allocations: 0.9033 MB / 0.7244 GB, free: 8.383 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/0.1985, allocations: 7.984 kB / 0.7244 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1986, allocations: 0 / 0.7244 GB, free: 8.375 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005846/0.1992, allocations: 204.1 kB / 0.7246 GB, free: 8.156 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/0.1994, allocations: 19.94 kB / 0.7246 GB, free: 8.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008756/0.2003, allocations: 19.98 kB / 0.7246 GB, free: 8.117 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.2005, allocations: 48.48 kB / 0.7247 GB, free: 8.07 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005351/0.2059, allocations: 1.179 MB / 0.7258 GB, free: 6.871 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003484/0.2094, allocations: 1.354 MB / 0.7272 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009797/0.2104, allocations: 348.2 kB / 0.7275 GB, free: 5.164 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001181/0.2116, allocations: 483 kB / 0.728 GB, free: 4.695 MB / 442.7 MB Notification: Performance of Backend: time 7.82e-07/0.2117, allocations: 8.031 kB / 0.728 GB, free: 4.688 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005943/0.2176, allocations: 1.379 MB / 0.7293 GB, free: 3.309 MB / 442.7 MB Notification: Performance of SimCode: time 0.2868/0.5045, allocations: 3.383 MB / 0.7326 GB, free: 126.6 MB / 442.7 MB Notification: Performance of Templates: time 0.03755/0.5421, allocations: 12.77 MB / 0.7451 GB, free: 126.3 MB / 442.7 MB