Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadModel(Buildings): time 4.153/4.153, allocations: 433.3 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.953e-05, allocations: 4 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5054/0.5055, allocations: 98.71 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/0.7345, allocations: 150.6 MB / 0.776 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/0.7349, allocations: 99.86 kB / 0.7761 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06279/0.7977, allocations: 16.37 MB / 0.7921 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7977, allocations: 4 kB / 0.7921 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.7978, allocations: 8 kB / 0.7921 GB, free: 8.156 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009658/0.7987, allocations: 0.5021 MB / 0.7926 GB, free: 7.609 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.7988, allocations: 12.03 kB / 0.7926 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.7999, allocations: 91.61 kB / 0.7927 GB, free: 7.508 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.8005, allocations: 267 kB / 0.793 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.8005, allocations: 8 kB / 0.793 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.629e-05/0.8006, allocations: 16 kB / 0.793 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005579/0.8011, allocations: 224.9 kB / 0.7932 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000695/0.8019, allocations: 332.2 kB / 0.7935 GB, free: 6.613 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.8019, allocations: 4 kB / 0.7935 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.871e-05/0.8019, allocations: 0 / 0.7935 GB, free: 6.609 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/0.802, allocations: 24.38 kB / 0.7936 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.8045, allocations: 1.467 MB / 0.795 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.8051, allocations: 218.5 kB / 0.7952 GB, free: 4.758 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.8053, allocations: 115 kB / 0.7953 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.8055, allocations: 85.09 kB / 0.7954 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.8056, allocations: 38.5 kB / 0.7954 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 3.576e-06/0.8056, allocations: 0 / 0.7954 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.001888/0.8075, allocations: 0.7108 MB / 0.7961 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.8076, allocations: 55.41 kB / 0.7962 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.8078, allocations: 157.5 kB / 0.7963 GB, free: 3.504 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.8078, allocations: 25.7 kB / 0.7964 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.808, allocations: 171.8 kB / 0.7965 GB, free: 3.301 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.879e-05/0.8081, allocations: 59.11 kB / 0.7966 GB, free: 3.242 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.8081, allocations: 3.938 kB / 0.7966 GB, free: 3.238 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.8083, allocations: 327 kB / 0.7969 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.8085, allocations: 108 kB / 0.797 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.8088, allocations: 157.9 kB / 0.7971 GB, free: 2.629 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.8093, allocations: 158 kB / 0.7973 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-06/0.8093, allocations: 4 kB / 0.7973 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001133/0.8105, allocations: 400.5 kB / 0.7977 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.8105, allocations: 11.98 kB / 0.7977 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.8106, allocations: 0 / 0.7977 GB, free: 2.059 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004915/0.8111, allocations: 96.91 kB / 0.7978 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.8114, allocations: 51.89 kB / 0.7978 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.8138, allocations: 1.67 MB / 0.7995 GB, free: 128 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.8141, allocations: 7.984 kB / 0.7995 GB, free: 120 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.8142, allocations: 11.98 kB / 0.7995 GB, free: 108 kB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.4369/1.251, allocations: 105.9 kB / 0.7996 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/1.251, allocations: 13.53 kB / 0.7996 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/1.253, allocations: 296.7 kB / 0.7999 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/1.253, allocations: 2.312 kB / 0.7999 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-06/1.253, allocations: 0.5 kB / 0.7999 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.253, allocations: 2.016 kB / 0.7999 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/1.256, allocations: 0.6599 MB / 0.8005 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.241e-06/1.256, allocations: 4.344 kB / 0.8005 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008574/1.257, allocations: 59.11 kB / 0.8006 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/1.257, allocations: 2.062 kB / 0.8006 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/1.257, allocations: 2.422 kB / 0.8006 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.974e-06/1.257, allocations: 1.781 kB / 0.8006 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/1.257, allocations: 1.688 kB / 0.8006 GB, free: 159.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/1.259, allocations: 0.5323 MB / 0.8011 GB, free: 159.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/1.259, allocations: 116.2 kB / 0.8012 GB, free: 159 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/1.259, allocations: 2.594 kB / 0.8012 GB, free: 159 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004758/1.26, allocations: 9.781 kB / 0.8012 GB, free: 159 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/1.26, allocations: 18.5 kB / 0.8013 GB, free: 159 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/1.26, allocations: 7.469 kB / 0.8013 GB, free: 159 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002757/1.26, allocations: 132.4 kB / 0.8014 GB, free: 158.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.304e-06/1.26, allocations: 0 / 0.8014 GB, free: 158.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001207/1.262, allocations: 68.67 kB / 0.8015 GB, free: 158.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0003072/1.262, allocations: 121.1 kB / 0.8016 GB, free: 158.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001603/1.264, allocations: 394.2 kB / 0.8019 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.506e-06/1.264, allocations: 0.5625 kB / 0.8019 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004737/1.264, allocations: 120.3 kB / 0.8021 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/1.265, allocations: 22.72 kB / 0.8021 GB, free: 158.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/1.267, allocations: 492.6 kB / 0.8026 GB, free: 158.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/1.268, allocations: 0.781 MB / 0.8033 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005201/1.268, allocations: 55.56 kB / 0.8034 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/1.268, allocations: 23.02 kB / 0.8034 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of SimCode: time 2.666e-06/1.268, allocations: 0 / 0.8034 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.01415/1.283, allocations: 2.42 MB / 0.8058 GB, free: 157.7 MB / 0.6667 GB