Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009409/0.0009406, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009726/0.0009729, allocations: 176.3 kB / 16.57 MB, free: 6.398 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.43/1.43, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6644/0.6644, allocations: 113.8 MB / 405.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.0003799, allocations: 8 kB / 493.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1891, allocations: 77.16 MB / 0.5569 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.00788/0.197, allocations: 6.251 MB / 0.563 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4628/0.6599, allocations: 129.1 MB / 0.689 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.6613, allocations: 23.88 kB / 0.689 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007246/0.6621, allocations: 194.8 kB / 0.6892 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.6646, allocations: 0.7375 MB / 0.69 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.6678, allocations: 0.88 MB / 0.6908 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00276/0.6705, allocations: 1.107 MB / 0.6919 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.6728, allocations: 1.291 MB / 0.6932 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007701/0.6735, allocations: 474 kB / 0.6936 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008388/0.6744, allocations: 0.5211 MB / 0.6941 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.6745, allocations: 44 kB / 0.6942 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.6758, allocations: 431.4 kB / 0.6946 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000313/0.6761, allocations: 318.9 kB / 0.6949 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.6763, allocations: 268.9 kB / 0.6951 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.678, allocations: 1.679 MB / 0.6968 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.678, allocations: 0 / 0.6968 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.615e-06/0.678, allocations: 0 / 0.6968 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.6781, allocations: 4 kB / 0.6968 GB, free: 10.46 MB / 0.5137 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.003022/0.6811, allocations: 1.589 MB / 0.6983 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6811, allocations: 12.02 kB / 0.6983 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.6826, allocations: 317.7 kB / 0.6986 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.6841, allocations: 0.9492 MB / 0.6996 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.6842, allocations: 82.19 kB / 0.6996 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.6844, allocations: 116 kB / 0.6998 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.6866, allocations: 1.371 MB / 0.7011 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.6866, allocations: 3.938 kB / 0.7011 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.6867, allocations: 52 kB / 0.7011 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.83e-05/0.6868, allocations: 73.61 kB / 0.7012 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.6891, allocations: 1.514 MB / 0.7027 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006713/0.6959, allocations: 4.887 MB / 0.7075 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.6977, allocations: 1.1 MB / 0.7085 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.6979, allocations: 118 kB / 0.7087 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.699, allocations: 0.6546 MB / 0.7093 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 3.537e-06/0.699, allocations: 0 / 0.7093 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=104): time 0.005124/0.7041, allocations: 2.26 MB / 0.7115 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.7043, allocations: 256.2 kB / 0.7117 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.7055, allocations: 0.9421 MB / 0.7127 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.645e-05/0.7056, allocations: 45.7 kB / 0.7127 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/0.7061, allocations: 0.574 MB / 0.7133 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.7064, allocations: 343.1 kB / 0.7136 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.7065, allocations: 20 kB / 0.7136 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7066, allocations: 341.9 kB / 0.7139 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006506/0.7073, allocations: 385.8 kB / 0.7143 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007861/0.7081, allocations: 0.5704 MB / 0.7149 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.7088, allocations: 462.8 kB / 0.7153 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7088, allocations: 112 / 0.7153 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002489/0.7113, allocations: 1.309 MB / 0.7166 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004221/0.7118, allocations: 1.221 MB / 0.7178 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.7118, allocations: 4 kB / 0.7178 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.7129, allocations: 268.5 kB / 0.718 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008902/0.7138, allocations: 219.7 kB / 0.7182 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.7166, allocations: 2.044 MB / 0.7202 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009353/0.7176, allocations: 123.3 kB / 0.7204 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.697e-05/0.7177, allocations: 39.98 kB / 0.7204 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.7177, allocations: 8 kB / 0.7204 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001604/0.7193, allocations: 0.9644 MB / 0.7213 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7193, allocations: 4 kB / 0.7214 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.345e-06/0.7193, allocations: 8 kB / 0.7214 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008404/0.7202, allocations: 224.5 kB / 0.7216 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.7202, allocations: 8 kB / 0.7216 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/0.721, allocations: 119.5 kB / 0.7217 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/0.7211, allocations: 47.92 kB / 0.7217 GB, free: 15.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007564/0.7219, allocations: 437.4 kB / 0.7222 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.7221, allocations: 122.5 kB / 0.7223 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/0.7251, allocations: 1.482 MB / 0.7237 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.7251, allocations: 12 kB / 0.7237 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7251, allocations: 4 kB / 0.7237 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.7251, allocations: 3.984 kB / 0.7237 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00446/0.7296, allocations: 2.848 MB / 0.7265 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.7296, allocations: 0 / 0.7265 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/0.7304, allocations: 207.9 kB / 0.7267 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007863/0.7312, allocations: 208.6 kB / 0.7269 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-05/0.7313, allocations: 31.98 kB / 0.727 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.7333, allocations: 1.87 MB / 0.7288 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7334, allocations: 7.938 kB / 0.7288 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.7364, allocations: 1.579 MB / 0.7303 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.7374, allocations: 367.1 kB / 0.7307 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004339/0.7379, allocations: 24 kB / 0.7307 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.739, allocations: 115.8 kB / 0.7308 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.7393, allocations: 80.88 kB / 0.7309 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.389e-05/0.7394, allocations: 47.98 kB / 0.7309 GB, free: 6.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00113/0.7405, allocations: 0.6694 MB / 0.7316 GB, free: 5.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7405, allocations: 0 / 0.7316 GB, free: 5.516 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002413/0.7429, allocations: 0.4999 MB / 0.7321 GB, free: 5.016 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001818/0.7448, allocations: 0.66 MB / 0.7327 GB, free: 4.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003635/0.7484, allocations: 1.67 MB / 0.7344 GB, free: 2.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.7485, allocations: 4 kB / 0.7344 GB, free: 2.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.7499, allocations: 0.707 MB / 0.735 GB, free: 2.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.7516, allocations: 309.4 kB / 0.7353 GB, free: 1.871 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005821/0.7575, allocations: 2.951 MB / 0.7382 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.7588, allocations: 1.243 MB / 0.7394 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001783/0.7606, allocations: 468.8 kB / 0.7399 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/0.761, allocations: 131.4 kB / 0.74 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.761, allocations: 0 / 0.74 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.03376/0.7948, allocations: 18.07 MB / 0.7577 GB, free: 11.12 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)