Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 107.8 kB / 16.41 MB, free: 6.457 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.001241/0.001242, allocations: 189.5 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002193/0.002193, allocations: 286.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9583/0.9583, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003388/0.003388, allocations: 103.8 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.473, allocations: 86.96 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02449/0.4976, allocations: 21.4 MB / 0.7879 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1751/0.6727, allocations: 158.5 MB / 0.9427 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/0.6753, allocations: 67.75 kB / 0.9428 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004919/0.6803, allocations: 1.861 MB / 0.9446 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005749/0.686, allocations: 1.981 MB / 0.9465 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005823/0.6919, allocations: 2.334 MB / 0.9488 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007145/0.699, allocations: 5.305 MB / 0.954 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.7987/1.498, allocations: 5.675 MB / 0.9595 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004631/1.502, allocations: 2.194 MB / 0.9617 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00525/1.508, allocations: 2.432 MB / 0.9641 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001713/1.51, allocations: 490.1 kB / 0.9645 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/1.513, allocations: 1.264 MB / 0.9658 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002635/1.516, allocations: 1.733 MB / 0.9674 GB, free: 9.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003391/1.519, allocations: 2.17 MB / 0.9696 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008117/1.527, allocations: 7.243 MB / 0.9766 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.527, allocations: 0.9688 kB / 0.9766 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/1.527, allocations: 0 / 0.9766 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001944/1.528, allocations: 0.8438 kB / 0.9766 GB, free: 8.566 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 836 * Number of variables: 836 Notification: Performance of Generate backend data structure: time 0.01049/1.538, allocations: 4.178 MB / 0.9807 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.538, allocations: 8.594 kB / 0.9807 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003773/1.542, allocations: 0.8068 MB / 0.9815 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00438/1.546, allocations: 2.505 MB / 0.984 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/1.547, allocations: 234.1 kB / 0.9842 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000516/1.547, allocations: 313.9 kB / 0.9845 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00809/1.555, allocations: 4.82 MB / 0.9892 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.016e-05/1.555, allocations: 4.719 kB / 0.9892 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003529/1.556, allocations: 134.6 kB / 0.9893 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003425/1.556, allocations: 219.3 kB / 0.9895 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006757/1.563, allocations: 4.366 MB / 0.9938 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02364/1.586, allocations: 19.51 MB / 1.013 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/1.59, allocations: 2.071 MB / 1.015 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/1.591, allocations: 1.14 MB / 1.016 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/1.591, allocations: 138.6 kB / 1.016 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/1.593, allocations: 1.278 MB / 1.017 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=169): time 4.037e-06/1.593, allocations: 3.938 kB / 1.017 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=206): time 0.03583/1.629, allocations: 11.31 MB / 1.028 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/1.629, allocations: 306.7 kB / 1.029 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/1.632, allocations: 2.136 MB / 1.031 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005129/1.633, allocations: 63.33 kB / 1.031 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/1.634, allocations: 1.513 MB / 1.032 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007677/1.635, allocations: 0.676 MB / 1.033 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006834/1.636, allocations: 422.7 kB / 1.033 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/1.636, allocations: 303.4 kB / 1.034 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/1.638, allocations: 1.219 MB / 1.035 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/1.64, allocations: 1.663 MB / 1.037 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004273/1.644, allocations: 2.94 MB / 1.039 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/1.644, allocations: 4 kB / 1.039 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01436/1.659, allocations: 5.173 MB / 1.044 GB, free: 12.3 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/1.659, allocations: 8 kB / 1.044 GB, free: 12.3 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/1.659, allocations: 8 kB / 1.044 GB, free: 12.29 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/1.669, allocations: 2.294 MB / 1.047 GB, free: 9.977 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/1.671, allocations: 487.5 kB / 1.047 GB, free: 9.527 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/1.692, allocations: 15.22 MB / 1.062 GB, free: 9.539 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/1.695, allocations: 203.7 kB / 1.062 GB, free: 9.34 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/1.695, allocations: 91.91 kB / 1.062 GB, free: 9.25 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003748/1.699, allocations: 2.209 MB / 1.064 GB, free: 7.035 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002097/1.701, allocations: 1.568 MB / 1.066 GB, free: 5.305 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003851/1.705, allocations: 2.754 MB / 1.069 GB, free: 2.465 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.991e-06/1.705, allocations: 8 kB / 1.069 GB, free: 2.457 MB / 0.7638 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.01112/1.716, allocations: 4.414 MB / 1.073 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/1.716, allocations: 8 kB / 1.073 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.716, allocations: 15.98 kB / 1.073 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006459/1.722, allocations: 1.487 MB / 1.074 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/1.725, allocations: 496 kB / 1.075 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/1.736, allocations: 8.371 MB / 1.083 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/1.739, allocations: 184.5 kB / 1.083 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002422/1.739, allocations: 91.97 kB / 1.083 GB, free: 3.07 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (247): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000685/1.74, allocations: 316.5 kB / 1.084 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005384/1.74, allocations: 237.1 kB / 1.084 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/1.754, allocations: 5.206 MB / 1.089 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.228e-05/1.754, allocations: 11.95 kB / 1.089 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.754, allocations: 0 / 1.089 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/1.756, allocations: 0.6424 MB / 1.09 GB, free: 12.65 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005149/1.756, allocations: 36 kB / 1.09 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.758, allocations: 246.7 kB / 1.09 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004884/1.759, allocations: 157.7 kB / 1.09 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01009/1.769, allocations: 4.311 MB / 1.094 GB, free: 7.93 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007383/1.776, allocations: 4.702 MB / 1.099 GB, free: 3.219 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002061/1.778, allocations: 1.405 MB / 1.1 GB, free: 1.812 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002934/1.781, allocations: 1.497 MB / 1.102 GB, free: 304 kB / 0.795 GB Notification: Performance of Backend: time 5.51e-07/1.781, allocations: 4 kB / 1.102 GB, free: 300 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01351/1.795, allocations: 5.743 MB / 1.107 GB, free: 10.85 MB / 0.8107 GB Notification: Performance of SimCode: time 0.01198/1.807, allocations: 6.615 MB / 1.114 GB, free: 4.258 MB / 0.8107 GB Notification: Performance of Templates: time 0.1161/1.923, allocations: 66.93 MB / 1.179 GB, free: 2.035 MB / 0.8732 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)