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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004304/0.004308, allocations: 232.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.001176/0.001176, allocations: 173.2 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 3.953/3.953, allocations: 389.1 MB / 406.5 MB, free: 11.82 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 4.073/4.073, allocations: 472.3 MB / 0.9024 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004863, allocations: 21.61 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1798, allocations: 98.72 MB / 1.105 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.349/7.529, allocations: 2.235 GB / 3.34 GB, free: 224.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/7.529, allocations: 119.4 kB / 3.34 GB, free: 224.8 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.533/8.062, allocations: 145.1 MB / 3.482 GB, free: 138.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.364e-06/8.062, allocations: 3.938 kB / 3.482 GB, free: 138.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003364/8.063, allocations: 79.98 kB / 3.482 GB, free: 138.5 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: 805 * Number of variables: 805 Notification: Performance of Generate backend data structure: time 0.01255/8.075, allocations: 3.391 MB / 3.485 GB, free: 135 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/8.075, allocations: 12.03 kB / 3.485 GB, free: 135 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009423/8.085, allocations: 0.9522 MB / 3.486 GB, free: 134 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007194/8.092, allocations: 2.054 MB / 3.488 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/8.092, allocations: 230.1 kB / 3.488 GB, free: 131.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001589/8.094, allocations: 296 kB / 3.489 GB, free: 131.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/8.11, allocations: 4.426 MB / 3.493 GB, free: 126.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002218/8.11, allocations: 3.938 kB / 3.493 GB, free: 126.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00144/8.111, allocations: 132.6 kB / 3.493 GB, free: 126.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002683/8.112, allocations: 165.9 kB / 3.493 GB, free: 126.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01332/8.125, allocations: 4.114 MB / 3.497 GB, free: 122.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03825/8.163, allocations: 18.6 MB / 3.515 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006872/8.17, allocations: 2.264 MB / 3.518 GB, free: 100.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00306/8.173, allocations: 1.115 MB / 3.519 GB, free: 99.09 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/8.175, allocations: 0.5585 MB / 3.519 GB, free: 98.42 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003116/8.178, allocations: 1.185 MB / 3.52 GB, free: 97.22 MB / 0.823 GB Notification: Performance of pre-optimization done (n=153): time 5.711e-06/8.178, allocations: 0 / 3.52 GB, free: 97.22 MB / 0.823 GB Notification: Performance of matching and sorting (n=188): time 0.05502/8.233, allocations: 10.29 MB / 3.53 GB, free: 86.86 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/8.233, allocations: 304.7 kB / 3.531 GB, free: 86.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004142/8.237, allocations: 1.921 MB / 3.533 GB, free: 84.58 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005892/8.238, allocations: 61.7 kB / 3.533 GB, free: 84.51 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/8.239, allocations: 1.408 MB / 3.534 GB, free: 83.08 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009437/8.24, allocations: 0.6355 MB / 3.535 GB, free: 82.44 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/8.241, allocations: 44 kB / 3.535 GB, free: 82.39 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001577/8.241, allocations: 394 kB / 3.535 GB, free: 82 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/8.244, allocations: 1.187 MB / 3.536 GB, free: 80.81 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003947/8.248, allocations: 1.772 MB / 3.538 GB, free: 78.79 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/8.252, allocations: 1.57 MB / 3.539 GB, free: 77.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/8.252, allocations: 4 kB / 3.539 GB, free: 77.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.02015/8.273, allocations: 4.871 MB / 3.544 GB, free: 72.29 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000353/8.273, allocations: 0.6233 MB / 3.545 GB, free: 71.43 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/8.273, allocations: 15.94 kB / 3.545 GB, free: 71.42 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01343/8.286, allocations: 1.813 MB / 3.547 GB, free: 69.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004035/8.291, allocations: 0.4914 MB / 3.547 GB, free: 69.11 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/8.313, allocations: 8.859 MB / 3.556 GB, free: 59.99 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004124/8.317, allocations: 211.6 kB / 3.556 GB, free: 59.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005796/8.318, allocations: 103.9 kB / 3.556 GB, free: 59.68 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/8.318, allocations: 4 kB / 3.556 GB, free: 59.68 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01628/8.334, allocations: 4.122 MB / 3.56 GB, free: 55.53 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.671e-05/8.334, allocations: 16 kB / 3.56 GB, free: 55.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00879/8.343, allocations: 1.167 MB / 3.561 GB, free: 54.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004209/8.347, allocations: 0.5147 MB / 3.562 GB, free: 53.82 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/8.361, allocations: 5.128 MB / 3.567 GB, free: 48.57 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/8.365, allocations: 191.8 kB / 3.567 GB, free: 48.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003522/8.365, allocations: 95.97 kB / 3.567 GB, free: 48.29 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: 65 * 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 (238): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,80.0%) 11} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.003316/8.368, allocations: 1.215 MB / 3.568 GB, free: 47.06 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007685/8.369, allocations: 217.5 kB / 3.568 GB, free: 46.84 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01888/8.388, allocations: 4.521 MB / 3.573 GB, free: 42.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/8.388, allocations: 20 kB / 3.573 GB, free: 42.28 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/8.388, allocations: 3.953 kB / 3.573 GB, free: 42.28 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.766e-05/8.388, allocations: 8.062 kB / 3.573 GB, free: 42.27 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0288/8.417, allocations: 9.545 MB / 3.582 GB, free: 32.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.37e-05/8.417, allocations: 12.95 kB / 3.582 GB, free: 32.53 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003092/8.42, allocations: 371.4 kB / 3.583 GB, free: 32.17 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/8.432, allocations: 1.663 MB / 3.584 GB, free: 30.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004992/8.432, allocations: 55.92 kB / 3.584 GB, free: 30.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/8.452, allocations: 8.475 MB / 3.592 GB, free: 21.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/8.452, allocations: 15.97 kB / 3.592 GB, free: 21.69 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/8.47, allocations: 4.559 MB / 3.597 GB, free: 17.01 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002309/8.472, allocations: 0.6465 MB / 3.598 GB, free: 16.34 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008211/8.473, allocations: 47.98 kB / 3.598 GB, free: 16.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003539/8.477, allocations: 203.7 kB / 3.598 GB, free: 16.09 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006017/8.477, allocations: 157.7 kB / 3.598 GB, free: 15.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/8.478, allocations: 71.97 kB / 3.598 GB, free: 15.87 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002931/8.481, allocations: 1.331 MB / 3.599 GB, free: 14.52 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.72e-07/8.481, allocations: 4 kB / 3.599 GB, free: 14.51 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00697/8.488, allocations: 1.347 MB / 3.601 GB, free: 13.16 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (169): * Single equations (assignments): 165 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003088/8.491, allocations: 1.009 MB / 3.602 GB, free: 12.46 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01888/8.51, allocations: 5.96 MB / 3.607 GB, free: 6.367 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/8.51, allocations: 0 / 3.607 GB, free: 6.367 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007519/8.517, allocations: 2.084 MB / 3.609 GB, free: 4.258 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005532/8.523, allocations: 0.5088 MB / 3.61 GB, free: 3.75 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6091/9.132, allocations: 7.755 MB / 3.618 GB, free: 190.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005918/9.138, allocations: 2.438 MB / 3.62 GB, free: 190 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00666/9.145, allocations: 1.034 MB / 3.621 GB, free: 190 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/9.146, allocations: 195.5 kB / 3.621 GB, free: 190 MB / 0.823 GB Notification: Performance of SimCode: time 1.583e-06/9.146, allocations: 0 / 3.621 GB, free: 190 MB / 0.823 GB Notification: Performance of Templates: time 0.1206/9.267, allocations: 45.67 MB / 3.666 GB, free: 189 MB / 0.823 GB