Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.001207/0.001207, allocations: 185.4 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002172/0.002172, allocations: 296.3 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.9515/0.9515, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 100.1 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4359, allocations: 86.98 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02354/0.4595, allocations: 21.14 MB / 0.7877 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2059/0.6654, allocations: 158.6 MB / 0.9425 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.668, allocations: 79.69 kB / 0.9426 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00409/0.6721, allocations: 1.612 MB / 0.9442 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005546/0.6777, allocations: 1.866 MB / 0.946 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005434/0.6831, allocations: 2.206 MB / 0.9482 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006062/0.6892, allocations: 5.056 MB / 0.9531 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4942/1.183, allocations: 5.727 MB / 0.9587 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/1.188, allocations: 2.139 MB / 0.9608 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005086/1.193, allocations: 2.372 MB / 0.9631 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001466/1.194, allocations: 474.2 kB / 0.9636 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/1.198, allocations: 1.22 MB / 0.9647 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00234/1.2, allocations: 1.66 MB / 0.9664 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003164/1.203, allocations: 2.079 MB / 0.9684 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007504/1.211, allocations: 6.936 MB / 0.9752 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.211, allocations: 3.656 kB / 0.9752 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/1.211, allocations: 0.9062 kB / 0.9752 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001674/1.211, allocations: 3.188 kB / 0.9752 GB, free: 9.695 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: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.009635/1.221, allocations: 4.031 MB / 0.9791 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.221, allocations: 11.12 kB / 0.9791 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/1.225, allocations: 0.8167 MB / 0.9799 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/1.229, allocations: 2.335 MB / 0.9822 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.229, allocations: 236.7 kB / 0.9824 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/1.229, allocations: 311.5 kB / 0.9827 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007047/1.236, allocations: 4.756 MB / 0.9874 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-05/1.236, allocations: 7.25 kB / 0.9874 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000323/1.237, allocations: 131.2 kB / 0.9875 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003342/1.237, allocations: 220.3 kB / 0.9877 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005956/1.243, allocations: 4.352 MB / 0.992 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02078/1.264, allocations: 18.46 MB / 1.01 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/1.267, allocations: 2.206 MB / 1.012 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/1.269, allocations: 1.134 MB / 1.013 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/1.269, allocations: 137.8 kB / 1.013 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002299/1.271, allocations: 1.23 MB / 1.015 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=166): time 5.41e-06/1.271, allocations: 2.312 kB / 1.015 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=201): time 0.02979/1.301, allocations: 10.48 MB / 1.025 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/1.301, allocations: 363.7 kB / 1.025 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/1.304, allocations: 1.948 MB / 1.027 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003493/1.305, allocations: 60.7 kB / 1.027 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/1.306, allocations: 1.474 MB / 1.029 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006688/1.307, allocations: 0.6632 MB / 1.029 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006954/1.308, allocations: 437 kB / 1.03 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.308, allocations: 301.9 kB / 1.03 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/1.309, allocations: 1.186 MB / 1.031 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/1.312, allocations: 1.695 MB / 1.033 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004/1.316, allocations: 2.969 MB / 1.036 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.316, allocations: 6.031 kB / 1.036 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01129/1.327, allocations: 4.678 MB / 1.04 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/1.327, allocations: 12 kB / 1.04 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/1.327, allocations: 12 kB / 1.04 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007278/1.334, allocations: 1.747 MB / 1.042 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1.337, allocations: 484 kB / 1.042 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/1.352, allocations: 9.759 MB / 1.052 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/1.355, allocations: 207.6 kB / 1.052 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003923/1.355, allocations: 103.9 kB / 1.052 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00385/1.359, allocations: 2.148 MB / 1.054 GB, free: 2.176 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002177/1.361, allocations: 1.625 MB / 1.056 GB, free: 372 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003912/1.365, allocations: 2.824 MB / 1.059 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.526e-06/1.365, allocations: 4 kB / 1.059 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.009517/1.375, allocations: 4.067 MB / 1.063 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.375, allocations: 12 kB / 1.063 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/1.375, allocations: 12.66 kB / 1.063 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004522/1.379, allocations: 1.112 MB / 1.064 GB, free: 8.285 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/1.382, allocations: 0.4922 MB / 1.064 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008182/1.39, allocations: 5.455 MB / 1.07 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/1.393, allocations: 191.8 kB / 1.07 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/1.393, allocations: 95.97 kB / 1.07 GB, free: 1.953 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (244): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007315/1.394, allocations: 325.8 kB / 1.07 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004322/1.394, allocations: 233.2 kB / 1.07 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/1.405, allocations: 4.551 MB / 1.075 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-05/1.405, allocations: 7.969 kB / 1.075 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.405, allocations: 0 / 1.075 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.407, allocations: 0.6035 MB / 1.075 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/1.407, allocations: 40 kB / 1.075 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.409, allocations: 215.7 kB / 1.076 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/1.409, allocations: 165.7 kB / 1.076 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008693/1.418, allocations: 4.092 MB / 1.08 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006433/1.424, allocations: 4.552 MB / 1.084 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001865/1.426, allocations: 1.347 MB / 1.086 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00204/1.428, allocations: 1.353 MB / 1.087 GB, free: 488 kB / 0.7794 GB Notification: Performance of Backend: time 3.71e-07/1.428, allocations: 0 / 1.087 GB, free: 488 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.438, allocations: 5.133 MB / 1.092 GB, free: 11.75 MB / 0.795 GB Notification: Performance of SimCode: time 0.01096/1.449, allocations: 6.43 MB / 1.098 GB, free: 5.332 MB / 0.795 GB Notification: Performance of Templates: time 0.1033/1.553, allocations: 63.26 MB / 1.16 GB, free: 6.805 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)