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.001179/0.001179, allocations: 106.6 kB / 16.41 MB, free: 6.512 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.001237/0.001237, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.346/1.346, allocations: 222.9 MB / 241.1 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.002107/0.002107, allocations: 298 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9633/0.9633, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 95.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4316, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02437/0.456, allocations: 21.4 MB / 0.788 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1872/0.6433, allocations: 158.5 MB / 0.9427 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.6462, allocations: 71.69 kB / 0.9428 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005386/0.6516, allocations: 1.867 MB / 0.9446 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006012/0.6576, allocations: 2.006 MB / 0.9466 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006123/0.6637, allocations: 2.334 MB / 0.9488 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007466/0.6712, allocations: 5.309 MB / 0.954 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.431/1.102, allocations: 5.685 MB / 0.9596 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/1.107, allocations: 2.191 MB / 0.9617 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004899/1.112, allocations: 2.437 MB / 0.9641 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001344/1.113, allocations: 490.2 kB / 0.9646 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/1.116, allocations: 1.255 MB / 0.9658 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001895/1.118, allocations: 1.733 MB / 0.9675 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002353/1.12, allocations: 2.17 MB / 0.9696 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00917/1.129, allocations: 7.241 MB / 0.9767 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.13, allocations: 4.75 kB / 0.9767 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.715e-06/1.13, allocations: 2.844 kB / 0.9767 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001755/1.13, allocations: 0.7812 kB / 0.9767 GB, free: 9.055 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.007765/1.137, allocations: 4.178 MB / 0.9808 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.138, allocations: 8.469 kB / 0.9808 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/1.141, allocations: 0.8038 MB / 0.9816 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/1.145, allocations: 2.502 MB / 0.984 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.145, allocations: 244.2 kB / 0.9842 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/1.146, allocations: 310.6 kB / 0.9845 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006923/1.153, allocations: 4.818 MB / 0.9892 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.075e-05/1.153, allocations: 5.469 kB / 0.9892 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003499/1.153, allocations: 136.1 kB / 0.9894 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003451/1.153, allocations: 222.3 kB / 0.9896 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006943/1.16, allocations: 4.362 MB / 0.9938 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02838/1.189, allocations: 19.51 MB / 1.013 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/1.192, allocations: 2.076 MB / 1.015 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/1.194, allocations: 1.142 MB / 1.016 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/1.194, allocations: 132.3 kB / 1.016 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001926/1.196, allocations: 1.287 MB / 1.017 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=169): time 5.52e-06/1.196, allocations: 3.406 kB / 1.017 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=206): time 0.03639/1.232, allocations: 11.3 MB / 1.028 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/1.233, allocations: 321.5 kB / 1.029 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004194/1.237, allocations: 2.13 MB / 1.031 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000564/1.237, allocations: 64.05 kB / 1.031 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001808/1.239, allocations: 1.516 MB / 1.032 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.24, allocations: 0.673 MB / 1.033 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008395/1.241, allocations: 425.8 kB / 1.033 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.459e-05/1.241, allocations: 301.1 kB / 1.034 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/1.243, allocations: 1.219 MB / 1.035 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/1.245, allocations: 1.663 MB / 1.037 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004297/1.25, allocations: 2.937 MB / 1.039 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/1.25, allocations: 4 kB / 1.039 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01397/1.264, allocations: 5.171 MB / 1.044 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/1.264, allocations: 8.844 kB / 1.044 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.264, allocations: 12 kB / 1.044 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/1.274, allocations: 2.298 MB / 1.047 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/1.277, allocations: 473.4 kB / 1.047 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/1.297, allocations: 15.24 MB / 1.062 GB, free: 9.543 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/1.301, allocations: 191.7 kB / 1.062 GB, free: 9.355 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005768/1.301, allocations: 99.89 kB / 1.062 GB, free: 9.258 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006194/1.307, allocations: 2.201 MB / 1.065 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002975/1.31, allocations: 1.575 MB / 1.066 GB, free: 5.312 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004616/1.315, allocations: 2.758 MB / 1.069 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.347e-06/1.315, allocations: 0 / 1.069 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.01201/1.327, allocations: 4.421 MB / 1.073 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/1.327, allocations: 12 kB / 1.073 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.327, allocations: 8 kB / 1.073 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006367/1.334, allocations: 1.484 MB / 1.075 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/1.336, allocations: 499.1 kB / 1.075 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/1.348, allocations: 8.358 MB / 1.083 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/1.351, allocations: 195.8 kB / 1.083 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005181/1.351, allocations: 91.97 kB / 1.083 GB, free: 3.082 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.001021/1.352, allocations: 315.4 kB / 1.084 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009138/1.353, allocations: 241.1 kB / 1.084 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01463/1.368, allocations: 5.202 MB / 1.089 GB, free: 13.34 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.384e-05/1.368, allocations: 11.97 kB / 1.089 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.368, allocations: 0 / 1.089 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/1.37, allocations: 0.6463 MB / 1.09 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009974/1.371, allocations: 43.98 kB / 1.09 GB, free: 12.61 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/1.374, allocations: 231 kB / 1.09 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006462/1.374, allocations: 165.7 kB / 1.09 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01117/1.386, allocations: 4.305 MB / 1.094 GB, free: 7.941 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007667/1.393, allocations: 4.695 MB / 1.099 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001991/1.395, allocations: 1.405 MB / 1.1 GB, free: 1.824 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003034/1.398, allocations: 1.507 MB / 1.102 GB, free: 312 kB / 0.795 GB Notification: Performance of Backend: time 6.51e-07/1.398, allocations: 0 / 1.102 GB, free: 312 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01333/1.412, allocations: 5.742 MB / 1.107 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01427/1.426, allocations: 6.62 MB / 1.114 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of Templates: time 0.1103/1.536, allocations: 66.93 MB / 1.179 GB, free: 2.043 MB / 0.8731 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)