Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.00145/0.00145, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002168, allocations: 287.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9463/0.9463, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 99.84 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4908/0.4926, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.00946/0.5021, allocations: 7.29 MB / 0.7742 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1659/0.668, allocations: 152.3 MB / 0.9229 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.6693, allocations: 23.88 kB / 0.9229 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.6715, allocations: 0.7307 MB / 0.9236 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.6741, allocations: 0.8401 MB / 0.9244 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.6769, allocations: 1.093 MB / 0.9255 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002288/0.6792, allocations: 1.835 MB / 0.9273 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.6813, allocations: 1.388 MB / 0.9286 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.6823, allocations: 0.6851 MB / 0.9293 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.6836, allocations: 0.7703 MB / 0.9301 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004942/0.6841, allocations: 148 kB / 0.9302 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.686, allocations: 0.7334 MB / 0.9309 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005953/0.6866, allocations: 466.5 kB / 0.9314 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0008183/0.6874, allocations: 0.7539 MB / 0.9321 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002861/0.6903, allocations: 2.286 MB / 0.9343 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6903, allocations: 0 / 0.9343 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6903, allocations: 4 kB / 0.9343 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.6903, allocations: 0 / 0.9343 GB, free: 7.965 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003213/0.6936, allocations: 1.865 MB / 0.9361 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.6936, allocations: 8.031 kB / 0.9362 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.6951, allocations: 290.8 kB / 0.9364 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.6966, allocations: 1.023 MB / 0.9374 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.328e-05/0.6967, allocations: 82.22 kB / 0.9375 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.6968, allocations: 112 kB / 0.9376 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.699, allocations: 1.39 MB / 0.939 GB, free: 3.008 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.6991, allocations: 4 kB / 0.939 GB, free: 3.004 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.6992, allocations: 51.98 kB / 0.939 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.895e-05/0.6993, allocations: 69.98 kB / 0.9391 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.7017, allocations: 1.518 MB / 0.9406 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005931/0.7076, allocations: 4.81 MB / 0.9453 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/0.7095, allocations: 1.086 MB / 0.9463 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007222/0.7102, allocations: 466.9 kB / 0.9468 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/0.7104, allocations: 118 kB / 0.9469 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.7115, allocations: 0.6507 MB / 0.9475 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=103): time 4.468e-06/0.7115, allocations: 3.984 kB / 0.9475 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=104): time 0.00511/0.7166, allocations: 2.259 MB / 0.9497 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.7168, allocations: 248.3 kB / 0.95 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.718, allocations: 0.9534 MB / 0.9509 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.814e-05/0.7181, allocations: 45.7 kB / 0.9509 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004463/0.7186, allocations: 0.5663 MB / 0.9515 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.7188, allocations: 347 kB / 0.9518 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.7192, allocations: 218.7 kB / 0.952 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.7193, allocations: 342 kB / 0.9524 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/0.72, allocations: 417.8 kB / 0.9528 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008729/0.7209, allocations: 0.5824 MB / 0.9533 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.7225, allocations: 0.9705 MB / 0.9543 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7225, allocations: 0 / 0.9543 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002816/0.7253, allocations: 1.348 MB / 0.9556 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.7254, allocations: 8 kB / 0.9556 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.7254, allocations: 4 kB / 0.9556 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.7266, allocations: 256.8 kB / 0.9559 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/0.7276, allocations: 235.6 kB / 0.9561 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3657/1.093, allocations: 2.119 MB / 0.9581 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/1.095, allocations: 118.6 kB / 0.9583 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.095, allocations: 48.98 kB / 0.9583 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001286/1.096, allocations: 0.6599 MB / 0.959 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009438/1.097, allocations: 0.5602 MB / 0.9595 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001582/1.098, allocations: 0.9406 MB / 0.9604 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.89e-06/1.098, allocations: 3.703 kB / 0.9604 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.001911/1.1, allocations: 1.141 MB / 0.9615 GB, free: 185 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.1, allocations: 7.844 kB / 0.9615 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.1, allocations: 2.969 kB / 0.9615 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/1.1, allocations: 9.094 kB / 0.9616 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009141/1.101, allocations: 240.4 kB / 0.9618 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/1.101, allocations: 9.141 kB / 0.9618 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008703/1.102, allocations: 109.2 kB / 0.9619 GB, free: 185 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/1.102, allocations: 48.44 kB / 0.9619 GB, free: 185 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002987/1.103, allocations: 257.5 kB / 0.9622 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/1.103, allocations: 119.5 kB / 0.9623 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/1.106, allocations: 1.467 MB / 0.9637 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/1.106, allocations: 12.27 kB / 0.9637 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/1.106, allocations: 1.656 kB / 0.9637 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004013/1.106, allocations: 335.1 kB / 0.9641 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/1.106, allocations: 26.11 kB / 0.9641 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/1.107, allocations: 99.52 kB / 0.9642 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.107, allocations: 78.67 kB / 0.9643 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002351/1.11, allocations: 1.396 MB / 0.9656 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002541/1.112, allocations: 1.915 MB / 0.9675 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006517/1.113, allocations: 497.7 kB / 0.968 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007521/1.114, allocations: 0.6763 MB / 0.9686 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of Backend: time 3.01e-07/1.114, allocations: 0 / 0.9686 GB, free: 182.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004558/1.118, allocations: 2.298 MB / 0.9709 GB, free: 181.4 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003039/1.121, allocations: 2.732 MB / 0.9735 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.03085/1.152, allocations: 27.13 MB / 1 GB, free: 153.4 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)