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.000982/0.0009821, allocations: 98.58 kB / 16.02 MB, free: 80 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.0009657/0.0009658, allocations: 180.1 kB / 16.92 MB, free: 6.688 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7228/0.7228, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003122, allocations: 8 kB / 495.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1749, allocations: 77.55 MB / 0.56 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.009148/0.1841, allocations: 7.271 MB / 0.5671 GB, free: 1.688 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5833/0.7674, allocations: 148.4 MB / 0.712 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.7688, allocations: 23.88 kB / 0.712 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.77, allocations: 278.2 kB / 0.7123 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.7731, allocations: 0.7749 MB / 0.713 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.7761, allocations: 0.9811 MB / 0.714 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003204/0.7793, allocations: 2.037 MB / 0.716 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/0.7828, allocations: 1.548 MB / 0.7175 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.7841, allocations: 0.5015 MB / 0.718 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.7856, allocations: 0.6454 MB / 0.7186 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003158/0.7859, allocations: 44 kB / 0.7186 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.7879, allocations: 0.6553 MB / 0.7193 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004608/0.7885, allocations: 338.7 kB / 0.7196 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008525/0.7893, allocations: 0.65 MB / 0.7202 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004182/0.7935, allocations: 2.164 MB / 0.7224 GB, free: 112 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.7935, allocations: 3.938 kB / 0.7224 GB, free: 108 kB / 0.5294 GB Notification: Performance of FrontEnd: time 4.528e-06/0.7936, allocations: 0 / 0.7224 GB, free: 108 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.783e-05/0.7936, allocations: 0 / 0.7224 GB, free: 108 kB / 0.5294 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.003911/0.7975, allocations: 1.578 MB / 0.7239 GB, free: 14.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.7976, allocations: 12.03 kB / 0.7239 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.7992, allocations: 302.7 kB / 0.7242 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001914/0.8011, allocations: 0.984 MB / 0.7252 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.8012, allocations: 91.09 kB / 0.7253 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.8014, allocations: 108 kB / 0.7254 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.8041, allocations: 1.39 MB / 0.7267 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.8042, allocations: 7.938 kB / 0.7267 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.8043, allocations: 47.98 kB / 0.7268 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.8044, allocations: 66.06 kB / 0.7268 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.807, allocations: 1.526 MB / 0.7283 GB, free: 9.805 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007809/0.8148, allocations: 5.046 MB / 0.7332 GB, free: 4.477 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.817, allocations: 1.107 MB / 0.7343 GB, free: 3.359 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008402/0.8178, allocations: 464.5 kB / 0.7348 GB, free: 2.902 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.8181, allocations: 122 kB / 0.7349 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.8194, allocations: 0.6547 MB / 0.7355 GB, free: 2.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=103): time 2.645e-06/0.8194, allocations: 3.938 kB / 0.7355 GB, free: 2.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=104): time 0.005734/0.8251, allocations: 2.271 MB / 0.7377 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.8253, allocations: 252.5 kB / 0.738 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.8267, allocations: 0.9611 MB / 0.7389 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/0.8268, allocations: 45.7 kB / 0.739 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004759/0.8272, allocations: 0.5663 MB / 0.7395 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.8276, allocations: 343.1 kB / 0.7399 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.8277, allocations: 89.66 kB / 0.7399 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.8279, allocations: 341.9 kB / 0.7403 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008228/0.8287, allocations: 414.4 kB / 0.7407 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009888/0.8297, allocations: 0.5902 MB / 0.7412 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.8314, allocations: 0.9839 MB / 0.7422 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8314, allocations: 0 / 0.7422 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002936/0.8344, allocations: 1.364 MB / 0.7435 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.8345, allocations: 184.4 kB / 0.7437 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.8346, allocations: 4 kB / 0.7437 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.8358, allocations: 260.5 kB / 0.744 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009504/0.8367, allocations: 235.7 kB / 0.7442 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003232/0.84, allocations: 1.979 MB / 0.7461 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.8411, allocations: 123.3 kB / 0.7462 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-05/0.8412, allocations: 47.97 kB / 0.7463 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.8412, allocations: 7.938 kB / 0.7463 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001791/0.843, allocations: 1.027 MB / 0.7473 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.8431, allocations: 4 kB / 0.7473 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.8431, allocations: 8 kB / 0.7473 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008847/0.844, allocations: 235.7 kB / 0.7475 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.844, allocations: 12.36 kB / 0.7475 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009199/0.8449, allocations: 128.1 kB / 0.7477 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/0.845, allocations: 43.98 kB / 0.7477 GB, free: 5.195 MB / 0.5606 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.0007947/0.8458, allocations: 454.4 kB / 0.7481 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.846, allocations: 118.5 kB / 0.7482 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.8491, allocations: 1.485 MB / 0.7497 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.8491, allocations: 15.98 kB / 0.7497 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8491, allocations: 0 / 0.7497 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.8491, allocations: 7.984 kB / 0.7497 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/0.8536, allocations: 2.848 MB / 0.7525 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.8536, allocations: 0 / 0.7525 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007665/0.8544, allocations: 195.8 kB / 0.7527 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008016/0.8552, allocations: 212.7 kB / 0.7529 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.843e-05/0.8553, allocations: 35.86 kB / 0.7529 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.8573, allocations: 1.831 MB / 0.7547 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8574, allocations: 4.031 kB / 0.7547 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.86, allocations: 1.498 MB / 0.7562 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005792/0.8606, allocations: 363.1 kB / 0.7565 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.8607, allocations: 24 kB / 0.7565 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008917/0.8616, allocations: 113.8 kB / 0.7567 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.8618, allocations: 88.75 kB / 0.7567 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-05/0.8619, allocations: 43.98 kB / 0.7568 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009414/0.8629, allocations: 0.6773 MB / 0.7574 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8629, allocations: 0 / 0.7574 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001567/0.8644, allocations: 0.539 MB / 0.758 GB, free: 10.36 MB / 0.5762 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 (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 Backend phase and start with SimCode phase: time 0.001512/0.866, allocations: 0.6734 MB / 0.7586 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003265/0.8692, allocations: 1.743 MB / 0.7603 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8693, allocations: 1.062 kB / 0.7603 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/0.8705, allocations: 0.7034 MB / 0.761 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.8724, allocations: 341.4 kB / 0.7613 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/0.8769, allocations: 3.071 MB / 0.7643 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008171/0.8778, allocations: 1.223 MB / 0.7655 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001454/0.8792, allocations: 473 kB / 0.766 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.8796, allocations: 127.4 kB / 0.7661 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/0.8796, allocations: 0 / 0.7661 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of Templates: time 0.03352/0.9131, allocations: 19.04 MB / 0.7847 GB, free: 15.3 MB / 0.6075 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)