Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00535/0.005354, allocations: 233.5 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001157/0.001157, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.054/4.054, allocations: 389.1 MB / 406.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.977/3.977, allocations: 472.3 MB / 0.9024 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006659/0.0006661, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1995, allocations: 98.73 MB / 1.105 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.349/7.548, allocations: 2.234 GB / 3.338 GB, free: 225.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/7.549, allocations: 118.9 kB / 3.338 GB, free: 225.1 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 0.5736/8.122, allocations: 154.5 MB / 3.489 GB, free: 129.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.505e-06/8.122, allocations: 0.5 kB / 3.489 GB, free: 129.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004019/8.123, allocations: 84.48 kB / 3.489 GB, free: 129.7 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01367/8.136, allocations: 3.543 MB / 3.493 GB, free: 126.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/8.137, allocations: 12.03 kB / 3.493 GB, free: 126.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009267/8.146, allocations: 0.9472 MB / 3.494 GB, free: 125.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007465/8.153, allocations: 2.178 MB / 3.496 GB, free: 122.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/8.154, allocations: 245.7 kB / 3.496 GB, free: 122.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/8.155, allocations: 307.9 kB / 3.496 GB, free: 122.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01587/8.171, allocations: 4.493 MB / 3.501 GB, free: 117.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001876/8.171, allocations: 5.219 kB / 3.501 GB, free: 117.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/8.173, allocations: 136 kB / 3.501 GB, free: 117.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002756/8.173, allocations: 181.9 kB / 3.501 GB, free: 117.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/8.187, allocations: 4.16 MB / 3.505 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03954/8.226, allocations: 19.9 MB / 3.524 GB, free: 91.87 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006889/8.233, allocations: 2.151 MB / 3.527 GB, free: 89.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003265/8.237, allocations: 1.13 MB / 3.528 GB, free: 88.61 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/8.238, allocations: 0.5581 MB / 3.528 GB, free: 87.94 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003645/8.242, allocations: 1.152 MB / 3.529 GB, free: 86.78 MB / 0.823 GB Notification: Performance of pre-optimization done (n=156): time 5.881e-06/8.242, allocations: 0 / 3.529 GB, free: 86.78 MB / 0.823 GB Notification: Performance of matching and sorting (n=193): time 0.0677/8.309, allocations: 11.19 MB / 3.54 GB, free: 75.54 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/8.309, allocations: 287 kB / 3.541 GB, free: 75.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004772/8.314, allocations: 2.111 MB / 3.543 GB, free: 73.04 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006522/8.315, allocations: 57.7 kB / 3.543 GB, free: 72.98 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001713/8.317, allocations: 1.445 MB / 3.544 GB, free: 71.51 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009953/8.318, allocations: 0.6546 MB / 3.545 GB, free: 70.85 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002726/8.318, allocations: 44 kB / 3.545 GB, free: 70.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001471/8.318, allocations: 389.9 kB / 3.545 GB, free: 70.42 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003531/8.322, allocations: 1.218 MB / 3.546 GB, free: 69.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004125/8.326, allocations: 1.749 MB / 3.548 GB, free: 67.24 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004195/8.33, allocations: 1.591 MB / 3.55 GB, free: 65.62 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/8.33, allocations: 8 kB / 3.55 GB, free: 65.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02577/8.356, allocations: 5.418 MB / 3.555 GB, free: 60.13 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003242/8.356, allocations: 0.5744 MB / 3.555 GB, free: 59.37 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/8.356, allocations: 12 kB / 3.555 GB, free: 59.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01884/8.375, allocations: 2.412 MB / 3.558 GB, free: 56.92 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004163/8.379, allocations: 499.2 kB / 3.558 GB, free: 56.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02874/8.408, allocations: 14 MB / 3.572 GB, free: 41.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004301/8.412, allocations: 207.7 kB / 3.572 GB, free: 41.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000404/8.413, allocations: 95.95 kB / 3.572 GB, free: 41.34 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/8.413, allocations: 4 kB / 3.572 GB, free: 41.33 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01914/8.432, allocations: 4.522 MB / 3.577 GB, free: 36.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/8.432, allocations: 12 kB / 3.577 GB, free: 36.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0124/8.445, allocations: 1.595 MB / 3.578 GB, free: 35.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004235/8.449, allocations: 0.4992 MB / 3.579 GB, free: 34.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01794/8.467, allocations: 7.96 MB / 3.586 GB, free: 26.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/8.471, allocations: 191.8 kB / 3.587 GB, free: 26.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006344/8.472, allocations: 87.97 kB / 3.587 GB, free: 26.02 MB / 0.823 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.003651/8.475, allocations: 1.259 MB / 3.588 GB, free: 24.75 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008641/8.476, allocations: 229.3 kB / 3.588 GB, free: 24.53 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03172/8.508, allocations: 5.216 MB / 3.593 GB, free: 19.28 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.553e-05/8.508, allocations: 20 kB / 3.593 GB, free: 19.26 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.44e-05/8.508, allocations: 0 / 3.593 GB, free: 19.26 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.2e-05/8.508, allocations: 7.969 kB / 3.593 GB, free: 19.25 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05431/8.562, allocations: 9.856 MB / 3.603 GB, free: 9.219 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/8.563, allocations: 8 kB / 3.603 GB, free: 9.211 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/8.566, allocations: 400 kB / 3.603 GB, free: 8.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01676/8.583, allocations: 2.217 MB / 3.606 GB, free: 6.582 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005562/8.583, allocations: 51.97 kB / 3.606 GB, free: 6.531 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/8.612, allocations: 13.62 MB / 3.619 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/8.612, allocations: 4 kB / 3.619 GB, free: 8.105 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02525/8.638, allocations: 5.067 MB / 3.624 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00278/8.64, allocations: 0.701 MB / 3.624 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/8.642, allocations: 44 kB / 3.625 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004129/8.646, allocations: 223.7 kB / 3.625 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009027/8.647, allocations: 165.6 kB / 3.625 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003329/8.647, allocations: 75.97 kB / 3.625 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.004332/8.651, allocations: 1.478 MB / 3.626 GB, free: 204 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8.61e-07/8.651, allocations: 0 / 3.626 GB, free: 204 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.6031/9.255, allocations: 1.375 MB / 3.628 GB, free: 200 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003538/9.258, allocations: 1.1 MB / 3.629 GB, free: 199.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02318/9.281, allocations: 6.824 MB / 3.636 GB, free: 198.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/9.281, allocations: 2.531 kB / 3.636 GB, free: 198.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.009226/9.291, allocations: 2.572 MB / 3.638 GB, free: 197.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005158/9.296, allocations: 0.5381 MB / 3.639 GB, free: 197.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/9.316, allocations: 7.987 MB / 3.646 GB, free: 194.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005044/9.321, allocations: 2.51 MB / 3.649 GB, free: 193.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006166/9.328, allocations: 1.026 MB / 3.65 GB, free: 193.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/9.329, allocations: 197 kB / 3.65 GB, free: 193.5 MB / 0.8386 GB Notification: Performance of SimCode: time 1.433e-06/9.329, allocations: 0 / 3.65 GB, free: 193.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.1275/9.456, allocations: 50.28 MB / 3.699 GB, free: 192 MB / 0.8386 GB