Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 288.3 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 174.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 103.4 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004303, allocations: 15.53 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2573, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.01646/0.2738, allocations: 18.39 MB / 0.9974 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7616/1.035, allocations: 134.5 MB / 1.129 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002771/1.038, allocations: 53.53 kB / 1.129 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001977/1.04, allocations: 0.5289 MB / 1.129 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006844/1.047, allocations: 1.579 MB / 1.131 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005678/1.053, allocations: 1.583 MB / 1.132 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005264/1.058, allocations: 2.519 MB / 1.135 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009598/1.068, allocations: 5.687 MB / 1.14 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/1.071, allocations: 1.296 MB / 1.142 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/1.074, allocations: 1.36 MB / 1.143 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005169/1.074, allocations: 163.4 kB / 1.143 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/1.076, allocations: 0.5599 MB / 1.144 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001241/1.078, allocations: 1.182 MB / 1.145 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001038/1.079, allocations: 0.6661 MB / 1.145 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006495/1.085, allocations: 5.395 MB / 1.151 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/1.085, allocations: 0 / 1.151 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.078e-06/1.085, allocations: 0 / 1.151 GB, free: 13.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002272/1.085, allocations: 3.938 kB / 1.151 GB, free: 13.77 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.009627/1.095, allocations: 3.195 MB / 1.154 GB, free: 11.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/1.095, allocations: 17.06 kB / 1.154 GB, free: 11.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/1.1, allocations: 0.8625 MB / 1.155 GB, free: 11.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00659/1.107, allocations: 2.185 MB / 1.157 GB, free: 9.734 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/1.107, allocations: 228.1 kB / 1.157 GB, free: 9.637 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00129/1.109, allocations: 303.5 kB / 1.157 GB, free: 9.535 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01018/1.119, allocations: 4.634 MB / 1.162 GB, free: 6.742 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.529e-05/1.119, allocations: 6.469 kB / 1.162 GB, free: 6.738 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003431/1.119, allocations: 132.6 kB / 1.162 GB, free: 6.645 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004138/1.12, allocations: 214.2 kB / 1.162 GB, free: 6.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007734/1.127, allocations: 4.278 MB / 1.166 GB, free: 4.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02638/1.154, allocations: 18.48 MB / 1.184 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/1.157, allocations: 2.116 MB / 1.187 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/1.157, allocations: 137.2 kB / 1.187 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001715/1.159, allocations: 1.171 MB / 1.188 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 3.066e-06/1.159, allocations: 0 / 1.188 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.03163/1.191, allocations: 10.37 MB / 1.198 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000193/1.191, allocations: 360.1 kB / 1.198 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002912/1.194, allocations: 1.873 MB / 1.2 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002267/1.194, allocations: 57.7 kB / 1.2 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001426/1.195, allocations: 1.444 MB / 1.202 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000631/1.196, allocations: 0.6429 MB / 1.202 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/1.196, allocations: 40 kB / 1.202 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001988/1.196, allocations: 385.9 kB / 1.203 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/1.198, allocations: 1.12 MB / 1.204 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/1.201, allocations: 1.644 MB / 1.205 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/1.203, allocations: 1.392 MB / 1.207 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/1.203, allocations: 4 kB / 1.207 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01147/1.215, allocations: 4.586 MB / 1.211 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001931/1.217, allocations: 4.972 MB / 1.216 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/1.217, allocations: 12 kB / 1.216 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007669/1.224, allocations: 1.846 MB / 1.218 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/1.227, allocations: 467.3 kB / 1.218 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/1.242, allocations: 9.472 MB / 1.227 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/1.245, allocations: 201.4 kB / 1.228 GB, free: 7.707 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004788/1.246, allocations: 87.97 kB / 1.228 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.246, allocations: 5.094 kB / 1.228 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01011/1.256, allocations: 3.779 MB / 1.231 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.507e-05/1.256, allocations: 16 kB / 1.231 GB, free: 3.816 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004865/1.261, allocations: 1.202 MB / 1.233 GB, free: 2.613 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.263, allocations: 483.2 kB / 1.233 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/1.274, allocations: 5.868 MB / 1.239 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/1.276, allocations: 171.9 kB / 1.239 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004284/1.277, allocations: 95.97 kB / 1.239 GB, free: 11.88 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 222 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.003052/1.28, allocations: 1.211 MB / 1.24 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008444/1.281, allocations: 217.3 kB / 1.24 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.293, allocations: 4.518 MB / 1.245 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/1.293, allocations: 20 kB / 1.245 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/1.293, allocations: 8 kB / 1.245 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.253e-05/1.293, allocations: 11.95 kB / 1.245 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02282/1.316, allocations: 9.559 MB / 1.254 GB, free: 12.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/1.316, allocations: 8 kB / 1.254 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.317, allocations: 363.4 kB / 1.255 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006916/1.324, allocations: 1.695 MB / 1.256 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002902/1.324, allocations: 51.98 kB / 1.256 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/1.339, allocations: 9.414 MB / 1.266 GB, free: 396 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/1.339, allocations: 11.94 kB / 1.266 GB, free: 384 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01265/1.352, allocations: 5.059 MB / 1.27 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002832/1.355, allocations: 0.6347 MB / 1.271 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001273/1.356, allocations: 47.98 kB / 1.271 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.359, allocations: 211.7 kB / 1.271 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006978/1.359, allocations: 165.6 kB / 1.271 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003373/1.36, allocations: 67.98 kB / 1.272 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00306/1.363, allocations: 1.309 MB / 1.273 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.71e-07/1.363, allocations: 0 / 1.273 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.006459/1.369, allocations: 1.184 MB / 1.274 GB, free: 7.266 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001787/1.371, allocations: 0.6601 MB / 1.275 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0111/1.382, allocations: 5.256 MB / 1.28 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/1.382, allocations: 8 kB / 1.28 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.004262/1.386, allocations: 2.009 MB / 1.282 GB, free: 15.44 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/1.39, allocations: 0.5606 MB / 1.282 GB, free: 14.89 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/1.404, allocations: 7.734 MB / 1.29 GB, free: 7.02 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003564/1.407, allocations: 2.478 MB / 1.292 GB, free: 4.512 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003927/1.411, allocations: 1.013 MB / 1.293 GB, free: 3.496 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008612/1.412, allocations: 199.3 kB / 1.293 GB, free: 3.301 MB / 0.823 GB Notification: Performance of SimCode: time 1.183e-06/1.412, allocations: 0 / 1.293 GB, free: 3.301 MB / 0.823 GB Notification: Performance of Templates: time 0.08302/1.495, allocations: 45.65 MB / 1.338 GB, free: 5.965 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)