Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 106.3 kB / 17.74 MB, free: 5.332 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.0013/0.0013, allocations: 185.4 kB / 18.67 MB, free: 4.41 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.288/1.288, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1757/0.1757, allocations: 38.03 MB / 330.6 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.89 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2703, allocations: 58.05 MB / 0.5048 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007118/0.2775, allocations: 7.626 MB / 0.5122 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007042/0.2845, allocations: 5.373 MB / 0.5175 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005367/0.2851, allocations: 24.97 kB / 0.5175 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01074/0.2958, allocations: 5.19 MB / 0.5226 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.2975, allocations: 0.6454 MB / 0.5232 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.2987, allocations: 451.7 kB / 0.5236 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003236/0.302, allocations: 2.217 MB / 0.5258 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.3034, allocations: 1.128 MB / 0.5269 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.3044, allocations: 0.6406 MB / 0.5275 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.3056, allocations: 0.7346 MB / 0.5282 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.3058, allocations: 119.8 kB / 0.5283 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008716/0.3067, allocations: 389 kB / 0.5287 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004895/0.3072, allocations: 0.4949 MB / 0.5292 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006064/0.3078, allocations: 0.607 MB / 0.5298 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.3097, allocations: 1.712 MB / 0.5315 GB, free: 8.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3097, allocations: 0 / 0.5315 GB, free: 8.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3097, allocations: 3.984 kB / 0.5315 GB, free: 8.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.3097, allocations: 4 kB / 0.5315 GB, free: 8.742 MB / 398.1 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.002814/0.3126, allocations: 1.453 MB / 0.5329 GB, free: 7.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3126, allocations: 12.77 kB / 0.5329 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007363/0.3134, allocations: 160.3 kB / 0.533 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.3152, allocations: 0.9754 MB / 0.534 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.3153, allocations: 61.8 kB / 0.5341 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.3155, allocations: 80.69 kB / 0.5341 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.3171, allocations: 1.067 MB / 0.5352 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/0.3172, allocations: 10.42 kB / 0.5352 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/0.3173, allocations: 39.08 kB / 0.5352 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000224/0.3175, allocations: 73.23 kB / 0.5353 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.3189, allocations: 0.8336 MB / 0.5361 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005563/0.3245, allocations: 3.978 MB / 0.54 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3255, allocations: 0.6225 MB / 0.5406 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.3259, allocations: 322.5 kB / 0.5409 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.777e-05/0.326, allocations: 6.062 kB / 0.5409 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3261, allocations: 41.81 kB / 0.541 GB, free: 1.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 3.747e-06/0.3261, allocations: 1.703 kB / 0.541 GB, free: 1.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.00474/0.3308, allocations: 2.603 MB / 0.5435 GB, free: 128 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.3309, allocations: 114 kB / 0.5436 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008571/0.3318, allocations: 0.7043 MB / 0.5443 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.3318, allocations: 36.45 kB / 0.5443 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.3322, allocations: 491 kB / 0.5448 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.3324, allocations: 250.5 kB / 0.545 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.3326, allocations: 150.2 kB / 0.5452 GB, free: 14.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3328, allocations: 399 kB / 0.5456 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.3333, allocations: 301.8 kB / 0.5459 GB, free: 14.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.334, allocations: 0.5188 MB / 0.5464 GB, free: 13.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00384/0.3378, allocations: 1.676 MB / 0.548 GB, free: 11.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.3378, allocations: 4 kB / 0.548 GB, free: 11.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002334/0.3402, allocations: 1.271 MB / 0.5492 GB, free: 10.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3402, allocations: 11.94 kB / 0.5492 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.3402, allocations: 11.94 kB / 0.5493 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.3413, allocations: 401.6 kB / 0.5496 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/0.3419, allocations: 151.7 kB / 0.5498 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007477/0.3494, allocations: 6.231 MB / 0.5559 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.35, allocations: 35.94 kB / 0.5559 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.3501, allocations: 35.98 kB / 0.5559 GB, free: 3.277 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. 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 (75): * Single equations (assignments): 73 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0005535/0.3506, allocations: 357.5 kB / 0.5563 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.3508, allocations: 79.48 kB / 0.5564 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.3524, allocations: 0.9034 MB / 0.5572 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3524, allocations: 3.984 kB / 0.5572 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3524, allocations: 3.938 kB / 0.5572 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.3527, allocations: 204.5 kB / 0.5574 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.3528, allocations: 23.98 kB / 0.5575 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.3532, allocations: 23.92 kB / 0.5575 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.417e-05/0.3533, allocations: 48.42 kB / 0.5575 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002348/0.3556, allocations: 1.172 MB / 0.5587 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001652/0.3573, allocations: 1.358 MB / 0.56 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004414/0.3577, allocations: 344.2 kB / 0.5603 GB, free: 14.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005857/0.3583, allocations: 499 kB / 0.5608 GB, free: 14.21 MB / 430.1 MB Notification: Performance of Backend: time 5.41e-07/0.3583, allocations: 3.938 kB / 0.5608 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003144/0.3615, allocations: 1.44 MB / 0.5622 GB, free: 12.9 MB / 430.1 MB Notification: Performance of SimCode: time 0.00361/0.3651, allocations: 2.925 MB / 0.5651 GB, free: 9.934 MB / 430.1 MB Notification: Performance of Templates: time 0.02325/0.3884, allocations: 14.14 MB / 0.5789 GB, free: 11.89 MB / 446.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1)