Running command: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadModel(Buildings): time 3.762/3.762, allocations: 403.8 MB / 411 MB, free: 400 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.29e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.418 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/0.5483, allocations: 92.69 MB / 0.5847 GB, free: 2.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.7877, allocations: 141.5 MB / 0.7228 GB, free: 4.766 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004039/0.7882, allocations: 91.94 kB / 0.7229 GB, free: 4.676 MB / 0.6042 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.03321/0.8214, allocations: 9.404 MB / 0.7321 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.381e-06/0.8214, allocations: 0 / 0.7321 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.8215, allocations: 4 kB / 0.7321 GB, free: 11.14 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000548/0.822, allocations: 414.3 kB / 0.7325 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.8221, allocations: 12.02 kB / 0.7325 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.8226, allocations: 51.8 kB / 0.7325 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.8229, allocations: 214.8 kB / 0.7327 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.8229, allocations: 7.938 kB / 0.7328 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.823, allocations: 8 kB / 0.7328 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002941/0.8233, allocations: 124.2 kB / 0.7329 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.8237, allocations: 202.5 kB / 0.7331 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8237, allocations: 7.938 kB / 0.7331 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.8237, allocations: 7.953 kB / 0.7331 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.8238, allocations: 8.281 kB / 0.7331 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.8249, allocations: 0.833 MB / 0.7339 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.825, allocations: 18.58 kB / 0.7339 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.825, allocations: 16.94 kB / 0.7339 GB, free: 9.059 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.237e-06/0.8251, allocations: 4 kB / 0.7339 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.8251, allocations: 34.56 kB / 0.734 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.074e-06/0.8251, allocations: 0 / 0.734 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001619/0.8253, allocations: 49.62 kB / 0.734 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.8253, allocations: 55.34 kB / 0.7341 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.8255, allocations: 137.4 kB / 0.7342 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.8255, allocations: 29.7 kB / 0.7342 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.8257, allocations: 147.2 kB / 0.7344 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.8257, allocations: 7.906 kB / 0.7344 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-06/0.8257, allocations: 4 kB / 0.7344 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.8258, allocations: 318.8 kB / 0.7347 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.8259, allocations: 20 kB / 0.7347 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/0.826, allocations: 81.44 kB / 0.7348 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.8261, allocations: 31.92 kB / 0.7348 GB, free: 8.066 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8261, allocations: 4 kB / 0.7348 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002492/0.8264, allocations: 121.3 kB / 0.7349 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004876/0.8269, allocations: 0.9535 MB / 0.7359 GB, free: 6.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.941e-06/0.8269, allocations: 4 kB / 0.7359 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.8269, allocations: 4 kB / 0.7359 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.8271, allocations: 35.92 kB / 0.7359 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.709e-06/0.8271, allocations: 4 kB / 0.7359 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.8272, allocations: 11.84 kB / 0.7359 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.8272, allocations: 11.94 kB / 0.7359 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.448e-06/0.8273, allocations: 4 kB / 0.7359 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001699/0.8274, allocations: 80.09 kB / 0.736 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.08e-06/0.8275, allocations: 8.062 kB / 0.736 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.11e-06/0.8275, allocations: 4 kB / 0.736 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.8276, allocations: 27.92 kB / 0.7361 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.176e-06/0.8276, allocations: 4 kB / 0.7361 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.128e-05/0.8277, allocations: 11.89 kB / 0.7361 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.8277, allocations: 4 kB / 0.7361 GB, free: 6.699 MB / 0.6198 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.978e-05/0.8278, allocations: 108.9 kB / 0.7362 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.8279, allocations: 3.906 kB / 0.7362 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.8279, allocations: 16.34 kB / 0.7362 GB, free: 6.559 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.326e-06/0.8279, allocations: 3.984 kB / 0.7362 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8279, allocations: 0 / 0.7362 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.418e-06/0.8279, allocations: 0 / 0.7362 GB, free: 6.555 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.8284, allocations: 416.8 kB / 0.7366 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-06/0.8285, allocations: 0 / 0.7366 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.8285, allocations: 8 kB / 0.7366 GB, free: 6.086 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.704e-06/0.8285, allocations: 8.078 kB / 0.7366 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-06/0.8285, allocations: 0 / 0.7366 GB, free: 6.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.239e-06/0.8285, allocations: 4 kB / 0.7366 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.285e-06/0.8286, allocations: 7.953 kB / 0.7366 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.8287, allocations: 118.1 kB / 0.7367 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.8288, allocations: 92.95 kB / 0.7368 GB, free: 5.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.8288, allocations: 3.938 kB / 0.7368 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.866e-05/0.8289, allocations: 4 kB / 0.7368 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.8289, allocations: 0 / 0.7368 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-06/0.8289, allocations: 0 / 0.7368 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.597e-05/0.829, allocations: 114.6 kB / 0.7369 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.36e-07/0.8291, allocations: 0 / 0.7369 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000555/0.8296, allocations: 51.78 kB / 0.737 GB, free: 5.637 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001369/0.8298, allocations: 103 kB / 0.7371 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.83, allocations: 91.78 kB / 0.7372 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.758e-06/0.83, allocations: 0 / 0.7372 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.8301, allocations: 13.19 kB / 0.7372 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.8303, allocations: 15.98 kB / 0.7372 GB, free: 5.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.8307, allocations: 171.1 kB / 0.7374 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.8311, allocations: 0.7319 MB / 0.7381 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.8313, allocations: 28.52 kB / 0.7381 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.8313, allocations: 11.44 kB / 0.7381 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of SimCode: time 1.063e-06/0.8313, allocations: 4 kB / 0.7381 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of Templates: time 0.003592/0.8349, allocations: 0.7106 MB / 0.7388 GB, free: 3.711 MB / 0.6198 GB