Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009216/0.009215, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001116/0.001117, allocations: 179.3 kB / 15.94 MB, free: 5.93 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 1.924/1.924, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.295/2.295, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 12 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5404, allocations: 98.71 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.7509, allocations: 146.5 MB / 0.8265 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.7512, allocations: 103.9 kB / 0.8266 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05177/0.803, allocations: 14.21 MB / 0.8404 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8031, allocations: 0 / 0.8404 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.8031, allocations: 4 kB / 0.8404 GB, free: 13.21 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007683/0.8039, allocations: 486.9 kB / 0.8409 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.8039, allocations: 8.031 kB / 0.8409 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008788/0.8048, allocations: 83.67 kB / 0.841 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.8052, allocations: 234.7 kB / 0.8412 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.8052, allocations: 12.33 kB / 0.8412 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.8053, allocations: 12 kB / 0.8412 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.8059, allocations: 320 kB / 0.8415 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.8059, allocations: 0 / 0.8415 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.838e-05/0.806, allocations: 11.98 kB / 0.8416 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/0.806, allocations: 15.98 kB / 0.8416 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005382/0.8066, allocations: 255.7 kB / 0.8418 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.8088, allocations: 1.625 MB / 0.8434 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008111/0.8096, allocations: 415.1 kB / 0.8438 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.8098, allocations: 97.09 kB / 0.8439 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.8099, allocations: 34.56 kB / 0.8439 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 3.226e-06/0.8099, allocations: 0 / 0.8439 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14): time 0.0008799/0.8108, allocations: 316.5 kB / 0.8442 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.8109, allocations: 77.11 kB / 0.8443 GB, free: 8.879 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.8111, allocations: 157.7 kB / 0.8445 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.8111, allocations: 29.7 kB / 0.8445 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.8112, allocations: 155.8 kB / 0.8446 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.8113, allocations: 43.27 kB / 0.8447 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.872e-05/0.8113, allocations: 8 kB / 0.8447 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.8115, allocations: 318.8 kB / 0.845 GB, free: 8.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.8117, allocations: 75.95 kB / 0.8451 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.8119, allocations: 153.4 kB / 0.8452 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.8122, allocations: 103.9 kB / 0.8453 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-06/0.8122, allocations: 0 / 0.8453 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005724/0.8128, allocations: 273.2 kB / 0.8456 GB, free: 7.527 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005106/0.8133, allocations: 0.968 MB / 0.8465 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.8133, allocations: 4 kB / 0.8465 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.8133, allocations: 4 kB / 0.8465 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.8137, allocations: 51.91 kB / 0.8466 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.959e-06/0.8137, allocations: 0 / 0.8466 GB, free: 6.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.8139, allocations: 31.81 kB / 0.8466 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.814, allocations: 8 kB / 0.8466 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.814, allocations: 5.406 kB / 0.8466 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004528/0.8144, allocations: 211.7 kB / 0.8468 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.873e-06/0.8145, allocations: 4 kB / 0.8468 GB, free: 6.172 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.8145, allocations: 4 kB / 0.8468 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.8147, allocations: 47.91 kB / 0.8469 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.8147, allocations: 4 kB / 0.8469 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.8149, allocations: 15.98 kB / 0.8469 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.8149, allocations: 12.09 kB / 0.8469 GB, free: 6.09 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002386/0.8152, allocations: 237.2 kB / 0.8471 GB, free: 5.848 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.36e-05/0.8153, allocations: 11.81 kB / 0.8471 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.8158, allocations: 199.8 kB / 0.8473 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.063e-06/0.8158, allocations: 0 / 0.8473 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-06/0.8158, allocations: 0 / 0.8473 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.242e-06/0.8158, allocations: 4.188 kB / 0.8473 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.8176, allocations: 0.9652 MB / 0.8483 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.642e-06/0.8176, allocations: 7.938 kB / 0.8483 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.8178, allocations: 39.91 kB / 0.8483 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.8178, allocations: 8.031 kB / 0.8483 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.8179, allocations: 4 kB / 0.8483 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.482e-06/0.8179, allocations: 4 kB / 0.8483 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.818e-06/0.8179, allocations: 11.92 kB / 0.8483 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.8186, allocations: 0.5814 MB / 0.8489 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.8187, allocations: 116.8 kB / 0.849 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.8188, allocations: 8 kB / 0.849 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.819, allocations: 15.98 kB / 0.849 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.8191, allocations: 23.88 kB / 0.8491 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.8191, allocations: 8 kB / 0.8491 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001598/0.8193, allocations: 134 kB / 0.8492 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.75e-07/0.8193, allocations: 0 / 0.8492 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000758/0.8201, allocations: 80 kB / 0.8493 GB, free: 3.367 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000197/0.8203, allocations: 135.1 kB / 0.8494 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006069/0.8209, allocations: 296.5 kB / 0.8497 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.745e-06/0.8209, allocations: 0 / 0.8497 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.8211, allocations: 88.02 kB / 0.8498 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.8216, allocations: 30.42 kB / 0.8498 GB, free: 2.824 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.8227, allocations: 0.5589 MB / 0.8503 GB, free: 2.203 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.8231, allocations: 0.7558 MB / 0.8511 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003199/0.8235, allocations: 73.47 kB / 0.8512 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.649e-05/0.8236, allocations: 15.44 kB / 0.8512 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of SimCode: time 5.123e-06/0.8236, allocations: 0 / 0.8512 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of Templates: time 0.00609/0.8297, allocations: 1.689 MB / 0.8528 GB, free: 15.65 MB / 0.6823 GB