Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) 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: translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.|windGen.generator.slip",fileNamePrefix="PowerSystems_latest_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.001578/0.001578, allocations: 110.3 kB / 17.74 MB, free: 5.359 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.001821/0.001821, allocations: 185.4 kB / 18.67 MB, free: 4.438 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.32/1.32, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.172/0.172, allocations: 38.04 MB / 330.6 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.89 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2806, allocations: 58.04 MB / 0.5048 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.007505/0.2881, allocations: 7.629 MB / 0.5122 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00729/0.2954, allocations: 5.372 MB / 0.5175 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004574/0.2959, allocations: 25.22 kB / 0.5175 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.3061, allocations: 5.188 MB / 0.5226 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.3077, allocations: 0.6343 MB / 0.5232 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.3089, allocations: 453 kB / 0.5236 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.3116, allocations: 2.208 MB / 0.5258 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.3129, allocations: 1.127 MB / 0.5269 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008701/0.3138, allocations: 0.649 MB / 0.5275 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009285/0.3147, allocations: 0.7332 MB / 0.5282 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.3149, allocations: 116.4 kB / 0.5283 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007058/0.3156, allocations: 396.5 kB / 0.5287 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000446/0.3161, allocations: 0.4927 MB / 0.5292 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.3166, allocations: 0.6057 MB / 0.5298 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.3182, allocations: 1.71 MB / 0.5314 GB, free: 8.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3183, allocations: 0 / 0.5314 GB, free: 8.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3183, allocations: 0 / 0.5314 GB, free: 8.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.3183, allocations: 0 / 0.5314 GB, free: 8.496 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.002616/0.3209, allocations: 1.419 MB / 0.5328 GB, free: 7.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3209, allocations: 16.48 kB / 0.5328 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007033/0.3217, allocations: 152.2 kB / 0.533 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.3234, allocations: 0.9747 MB / 0.5339 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.3235, allocations: 66.11 kB / 0.534 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.3237, allocations: 88.83 kB / 0.5341 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.3253, allocations: 1.062 MB / 0.5351 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.3253, allocations: 7.688 kB / 0.5351 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/0.3254, allocations: 31.05 kB / 0.5352 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002315/0.3256, allocations: 73.05 kB / 0.5352 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.327, allocations: 0.8325 MB / 0.536 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005204/0.3322, allocations: 3.974 MB / 0.5399 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.3332, allocations: 0.626 MB / 0.5405 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004364/0.3336, allocations: 315.7 kB / 0.5408 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.3337, allocations: 6.062 kB / 0.5408 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3337, allocations: 37.88 kB / 0.5409 GB, free: 1.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 2.455e-06/0.3337, allocations: 5.375 kB / 0.5409 GB, free: 1.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.004453/0.3382, allocations: 2.581 MB / 0.5434 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.3383, allocations: 113.6 kB / 0.5435 GB, free: 15.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007804/0.339, allocations: 0.6962 MB / 0.5442 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.3391, allocations: 40.11 kB / 0.5442 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003161/0.3394, allocations: 481.4 kB / 0.5447 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.3396, allocations: 237.6 kB / 0.5449 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.3398, allocations: 146.8 kB / 0.5451 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.34, allocations: 396.1 kB / 0.5454 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/0.3405, allocations: 306.2 kB / 0.5457 GB, free: 14.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/0.3411, allocations: 0.5144 MB / 0.5462 GB, free: 13.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003684/0.3448, allocations: 1.676 MB / 0.5479 GB, free: 11.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3448, allocations: 4 kB / 0.5479 GB, free: 11.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002194/0.347, allocations: 1.274 MB / 0.5491 GB, free: 10.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.347, allocations: 11.94 kB / 0.5491 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.347, allocations: 8 kB / 0.5491 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.3481, allocations: 401.6 kB / 0.5495 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.3486, allocations: 151.8 kB / 0.5497 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007395/0.356, allocations: 6.228 MB / 0.5557 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.3565, allocations: 39.83 kB / 0.5558 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.3566, allocations: 28 kB / 0.5558 GB, free: 3.312 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.0004538/0.357, allocations: 357.5 kB / 0.5562 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.3572, allocations: 75.06 kB / 0.5562 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.3587, allocations: 0.9111 MB / 0.5571 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.3588, allocations: 7.984 kB / 0.5571 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3588, allocations: 0 / 0.5571 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.3591, allocations: 196.1 kB / 0.5573 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.3592, allocations: 23.98 kB / 0.5573 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.3596, allocations: 23.89 kB / 0.5574 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-05/0.3597, allocations: 52.42 kB / 0.5574 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002348/0.362, allocations: 1.164 MB / 0.5585 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001624/0.3637, allocations: 1.362 MB / 0.5599 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004384/0.3641, allocations: 340.3 kB / 0.5602 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005745/0.3647, allocations: 499 kB / 0.5607 GB, free: 14.25 MB / 430.1 MB Notification: Performance of Backend: time 5.21e-07/0.3647, allocations: 0 / 0.5607 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003145/0.3679, allocations: 1.435 MB / 0.5621 GB, free: 12.96 MB / 430.1 MB Notification: Performance of SimCode: time 0.003731/0.3716, allocations: 2.91 MB / 0.5649 GB, free: 10.01 MB / 430.1 MB Notification: Performance of Templates: time 0.02299/0.3946, allocations: 14.13 MB / 0.5787 GB, free: 11.98 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1)