Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_11_Buildings.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.001872/0.001872, allocations: 114.2 kB / 16.81 MB, free: 5.77 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.002075/0.002075, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.439/1.439, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 64.11 kB / 1.097 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3736, allocations: 168.7 MB / 1.262 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02952/0.4031, allocations: 22.25 MB / 1.284 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2026/0.6058, allocations: 159.1 MB / 1.439 GB, free: 6.84 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.6084, allocations: 71.69 kB / 1.439 GB, free: 6.77 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005021/0.6134, allocations: 1.913 MB / 1.441 GB, free: 4.852 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006309/0.6197, allocations: 2.064 MB / 1.443 GB, free: 2.781 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006207/0.6259, allocations: 2.373 MB / 1.445 GB, free: 432 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.007308/0.6332, allocations: 5.372 MB / 1.451 GB, free: 11.04 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005969/0.6392, allocations: 4.192 MB / 1.455 GB, free: 6.773 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003494/0.6427, allocations: 2.212 MB / 1.457 GB, free: 4.551 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003826/0.6465, allocations: 2.573 MB / 1.459 GB, free: 1.969 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0009339/0.6474, allocations: 488 kB / 1.46 GB, free: 1.492 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.6501, allocations: 1.268 MB / 1.461 GB, free: 228 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001949/0.652, allocations: 1.769 MB / 1.463 GB, free: 14.45 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002731/0.6547, allocations: 2.178 MB / 1.465 GB, free: 12.26 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.009178/0.6639, allocations: 7.292 MB / 1.472 GB, free: 4.945 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.6639, allocations: 4 kB / 1.472 GB, free: 4.941 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6639, allocations: 0 / 1.472 GB, free: 4.941 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001828/0.6641, allocations: 0 / 1.472 GB, free: 4.941 MB / 1.186 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.009377/0.6735, allocations: 4.305 MB / 1.476 GB, free: 0.5469 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.6735, allocations: 8.031 kB / 1.476 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/0.6773, allocations: 0.8209 MB / 1.477 GB, free: 15.71 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004515/0.6818, allocations: 2.524 MB / 1.48 GB, free: 13.14 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002115/0.682, allocations: 234.3 kB / 1.48 GB, free: 12.91 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/0.6826, allocations: 316 kB / 1.48 GB, free: 12.6 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008592/0.6912, allocations: 4.815 MB / 1.485 GB, free: 7.633 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-05/0.6912, allocations: 15.92 kB / 1.485 GB, free: 7.617 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/0.6916, allocations: 136 kB / 1.485 GB, free: 7.484 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003973/0.692, allocations: 214.1 kB / 1.485 GB, free: 7.273 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008099/0.7001, allocations: 4.368 MB / 1.489 GB, free: 2.895 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02725/0.7273, allocations: 19.71 MB / 1.509 GB, free: 13.61 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.7309, allocations: 1.985 MB / 1.511 GB, free: 11.62 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.7326, allocations: 1.089 MB / 1.512 GB, free: 10.53 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.7328, allocations: 138.3 kB / 1.512 GB, free: 10.38 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002039/0.7349, allocations: 1.278 MB / 1.513 GB, free: 9.07 MB / 1.232 GB Notification: Performance of pre-optimization done (n=169): time 3.737e-06/0.7349, allocations: 0 / 1.513 GB, free: 9.07 MB / 1.232 GB Notification: Performance of matching and sorting (n=206): time 0.03553/0.7704, allocations: 11.34 MB / 1.524 GB, free: 13.68 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001945/0.7706, allocations: 312.7 kB / 1.524 GB, free: 13.31 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/0.7741, allocations: 2.137 MB / 1.527 GB, free: 11.13 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004567/0.7745, allocations: 61.7 kB / 1.527 GB, free: 11.07 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.776, allocations: 1.548 MB / 1.528 GB, free: 9.504 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008015/0.7768, allocations: 0.7205 MB / 1.529 GB, free: 8.777 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007414/0.7776, allocations: 415.6 kB / 1.529 GB, free: 8.363 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.7777, allocations: 309.1 kB / 1.529 GB, free: 8.059 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.7798, allocations: 1.223 MB / 1.531 GB, free: 6.824 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.7822, allocations: 1.666 MB / 1.532 GB, free: 5 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/0.7868, allocations: 2.939 MB / 1.535 GB, free: 1.934 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.7868, allocations: 4 kB / 1.535 GB, free: 1.93 MB / 1.248 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01419/0.801, allocations: 5.169 MB / 1.54 GB, free: 12.73 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.801, allocations: 9.875 kB / 1.54 GB, free: 12.72 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.8011, allocations: 11.94 kB / 1.54 GB, free: 12.71 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009938/0.811, allocations: 2.299 MB / 1.542 GB, free: 10.39 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.8132, allocations: 483.3 kB / 1.543 GB, free: 9.914 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8137/1.627, allocations: 15.22 MB / 1.558 GB, free: 275.2 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/1.63, allocations: 203.2 kB / 1.558 GB, free: 275.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/1.63, allocations: 93.53 kB / 1.558 GB, free: 275.2 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004185/1.634, allocations: 2.199 MB / 1.56 GB, free: 274.6 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002693/1.637, allocations: 1.573 MB / 1.562 GB, free: 273.7 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004004/1.641, allocations: 2.762 MB / 1.564 GB, free: 272.3 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.967e-06/1.641, allocations: 7.719 kB / 1.564 GB, free: 272.3 MB / 1.264 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.01143/1.652, allocations: 4.422 MB / 1.569 GB, free: 271 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/1.652, allocations: 9.797 kB / 1.569 GB, free: 271 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/1.652, allocations: 9.812 kB / 1.569 GB, free: 271 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006534/1.659, allocations: 1.491 MB / 1.57 GB, free: 270.8 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/1.661, allocations: 496.6 kB / 1.571 GB, free: 270.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0104/1.672, allocations: 8.367 MB / 1.579 GB, free: 264.8 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/1.674, allocations: 186.4 kB / 1.579 GB, free: 264.8 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/1.675, allocations: 88.81 kB / 1.579 GB, free: 264.8 MB / 1.264 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.0006775/1.675, allocations: 318.7 kB / 1.579 GB, free: 264.5 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006347/1.676, allocations: 253 kB / 1.58 GB, free: 264.5 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/1.689, allocations: 5.197 MB / 1.585 GB, free: 262.8 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-05/1.689, allocations: 11.48 kB / 1.585 GB, free: 262.8 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/1.689, allocations: 0 / 1.585 GB, free: 262.8 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.691, allocations: 0.6596 MB / 1.585 GB, free: 262.6 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004038/1.691, allocations: 43.84 kB / 1.585 GB, free: 262.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.693, allocations: 232 kB / 1.586 GB, free: 262.5 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005071/1.693, allocations: 159.3 kB / 1.586 GB, free: 262.5 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009001/1.702, allocations: 4.314 MB / 1.59 GB, free: 261.1 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005807/1.708, allocations: 4.709 MB / 1.595 GB, free: 259.1 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001514/1.71, allocations: 1.333 MB / 1.596 GB, free: 258.6 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00183/1.711, allocations: 1.505 MB / 1.597 GB, free: 258 MB / 1.264 GB Notification: Performance of Backend: time 2.5e-07/1.711, allocations: 3.828 kB / 1.597 GB, free: 258 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01092/1.722, allocations: 5.462 MB / 1.603 GB, free: 255.3 MB / 1.264 GB Notification: Performance of SimCode: time 0.00955/1.732, allocations: 6.796 MB / 1.609 GB, free: 249.4 MB / 1.264 GB Notification: Performance of Templates: time 0.09499/1.827, allocations: 68.85 MB / 1.677 GB, free: 181 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches