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.00111/0.00111, allocations: 108.5 kB / 16.41 MB, free: 6.406 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.001055/0.001055, allocations: 192.3 kB / 17.35 MB, free: 5.691 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002204/0.002204, allocations: 288.9 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.9919/0.9919, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4407, 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_N): time 0.02456/0.4653, allocations: 21.15 MB / 0.7877 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.169/0.6343, allocations: 158.6 MB / 0.9426 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/0.637, allocations: 67.75 kB / 0.9426 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004492/0.6416, allocations: 1.614 MB / 0.9442 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005634/0.6472, allocations: 1.83 MB / 0.946 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005333/0.6526, allocations: 2.208 MB / 0.9481 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005875/0.6584, allocations: 5.044 MB / 0.9531 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4436/1.102, allocations: 5.725 MB / 0.9587 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004679/1.107, allocations: 2.137 MB / 0.9607 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005196/1.112, allocations: 2.371 MB / 0.9631 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001306/1.113, allocations: 475.5 kB / 0.9635 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/1.117, allocations: 1.221 MB / 0.9647 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002338/1.119, allocations: 1.664 MB / 0.9663 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0034/1.122, allocations: 2.079 MB / 0.9684 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007996/1.13, allocations: 6.938 MB / 0.9751 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/1.13, allocations: 3.125 kB / 0.9751 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.465e-06/1.13, allocations: 0 / 0.9751 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001874/1.131, allocations: 1.031 kB / 0.9751 GB, free: 9.777 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.008737/1.139, allocations: 4.025 MB / 0.9791 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.139, allocations: 10.22 kB / 0.9791 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003834/1.143, allocations: 0.8138 MB / 0.9799 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003595/1.147, allocations: 2.343 MB / 0.9822 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/1.147, allocations: 238.9 kB / 0.9824 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/1.147, allocations: 306.3 kB / 0.9827 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007306/1.155, allocations: 4.762 MB / 0.9873 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.661e-05/1.155, allocations: 3.688 kB / 0.9873 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003531/1.155, allocations: 130.7 kB / 0.9875 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003725/1.156, allocations: 223.8 kB / 0.9877 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006274/1.162, allocations: 4.347 MB / 0.9919 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/1.182, allocations: 18.46 MB / 1.01 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/1.185, allocations: 2.21 MB / 1.012 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/1.187, allocations: 1.139 MB / 1.013 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/1.187, allocations: 129 kB / 1.013 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/1.189, allocations: 1.244 MB / 1.015 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=166): time 3.287e-06/1.189, allocations: 0 / 1.015 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=201): time 0.02972/1.218, allocations: 10.47 MB / 1.025 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002038/1.219, allocations: 366.8 kB / 1.025 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/1.222, allocations: 1.944 MB / 1.027 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002664/1.222, allocations: 62.39 kB / 1.027 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/1.223, allocations: 1.476 MB / 1.029 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005982/1.224, allocations: 0.6666 MB / 1.029 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006625/1.225, allocations: 432.2 kB / 1.03 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.225, allocations: 306 kB / 1.03 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/1.227, allocations: 1.182 MB / 1.031 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/1.229, allocations: 1.7 MB / 1.033 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003959/1.233, allocations: 2.961 MB / 1.036 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/1.233, allocations: 3.875 kB / 1.036 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01127/1.244, allocations: 4.673 MB / 1.04 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/1.244, allocations: 8 kB / 1.04 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/1.244, allocations: 16 kB / 1.04 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00726/1.251, allocations: 1.744 MB / 1.042 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/1.254, allocations: 486.2 kB / 1.042 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.269, allocations: 9.768 MB / 1.052 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/1.271, allocations: 203.6 kB / 1.052 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/1.272, allocations: 95.91 kB / 1.052 GB, free: 4.484 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003748/1.275, allocations: 2.151 MB / 1.054 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002116/1.278, allocations: 1.629 MB / 1.056 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00392/1.281, allocations: 2.827 MB / 1.059 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.165e-06/1.281, allocations: 4 kB / 1.059 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.009372/1.291, allocations: 4.066 MB / 1.063 GB, free: 9.566 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/1.291, allocations: 8 kB / 1.063 GB, free: 9.559 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/1.291, allocations: 16 kB / 1.063 GB, free: 9.543 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004399/1.295, allocations: 1.104 MB / 1.064 GB, free: 8.438 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/1.298, allocations: 0.4991 MB / 1.064 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008072/1.306, allocations: 5.457 MB / 1.07 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/1.308, allocations: 191 kB / 1.07 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004581/1.309, allocations: 99.95 kB / 1.07 GB, free: 2.094 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.0009274/1.31, allocations: 318.1 kB / 1.07 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008372/1.311, allocations: 229.2 kB / 1.07 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/1.323, allocations: 4.553 MB / 1.075 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.634e-05/1.323, allocations: 15.95 kB / 1.075 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/1.323, allocations: 0 / 1.075 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/1.324, allocations: 0.6035 MB / 1.075 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007915/1.325, allocations: 40 kB / 1.075 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/1.327, allocations: 215.7 kB / 1.076 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004664/1.328, allocations: 157.8 kB / 1.076 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009322/1.337, allocations: 4.094 MB / 1.08 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006916/1.344, allocations: 4.547 MB / 1.084 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001792/1.346, allocations: 1.351 MB / 1.086 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002587/1.349, allocations: 1.357 MB / 1.087 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of Backend: time 2.355e-06/1.349, allocations: 0 / 1.087 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.361, allocations: 5.133 MB / 1.092 GB, free: 11.91 MB / 0.795 GB Notification: Performance of SimCode: time 0.01312/1.374, allocations: 6.429 MB / 1.098 GB, free: 5.488 MB / 0.795 GB Notification: Performance of Templates: time 0.1041/1.478, allocations: 63.26 MB / 1.16 GB, free: 6.957 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)