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.Loads.Examples.VariableImpedance.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadModel(Buildings): time 3.98/3.98, allocations: 432.7 MB / 445.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.18e-05, allocations: 4.406 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1775, allocations: 98.71 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2128/0.3904, allocations: 140.7 MB / 0.7721 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/0.3907, allocations: 95.94 kB / 0.7722 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.5154/0.9061, allocations: 20.31 MB / 0.792 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.15e-06/0.9062, allocations: 1.25 kB / 0.792 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.026e-05/0.9062, allocations: 14.55 kB / 0.792 GB, free: 140.1 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001092/0.9073, allocations: 0.6421 MB / 0.7927 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.9074, allocations: 8.5 kB / 0.7927 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.9086, allocations: 137 kB / 0.7928 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006742/0.9093, allocations: 373.4 kB / 0.7932 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.9094, allocations: 25.47 kB / 0.7932 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.9095, allocations: 27.69 kB / 0.7932 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/0.9104, allocations: 0.584 MB / 0.7938 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.9105, allocations: 9.844 kB / 0.7938 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-05/0.9105, allocations: 25.27 kB / 0.7938 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.6e-05/0.9106, allocations: 28.89 kB / 0.7938 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008087/0.9115, allocations: 375 kB / 0.7942 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00331/0.9148, allocations: 3.367 MB / 0.7975 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000823/0.9156, allocations: 312 kB / 0.7978 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.916, allocations: 165.3 kB / 0.7979 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.9161, allocations: 7.125 kB / 0.7979 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.9161, allocations: 34.12 kB / 0.798 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 4.07e-06/0.9161, allocations: 1.188 kB / 0.798 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.001563/0.9177, allocations: 0.5954 MB / 0.7986 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.9178, allocations: 58.66 kB / 0.7986 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.9182, allocations: 292 kB / 0.7989 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.9182, allocations: 34.3 kB / 0.7989 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.9184, allocations: 239.2 kB / 0.7992 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.799e-05/0.9185, allocations: 90.77 kB / 0.7992 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.9185, allocations: 7.062 kB / 0.7992 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.9186, allocations: 346.9 kB / 0.7996 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.9189, allocations: 129.8 kB / 0.7997 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.9192, allocations: 262.1 kB / 0.8 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.9196, allocations: 175.1 kB / 0.8001 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.678e-06/0.9196, allocations: 5.453 kB / 0.8001 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001152/0.9207, allocations: 0.5123 MB / 0.8006 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.9208, allocations: 6.438 kB / 0.8006 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.9208, allocations: 4.344 kB / 0.8006 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003778/0.9212, allocations: 83.17 kB / 0.8007 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.9217, allocations: 86.22 kB / 0.8008 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.9217, allocations: 14.44 kB / 0.8008 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.9222, allocations: 27.78 kB / 0.8008 GB, free: 134.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.9222, allocations: 20.59 kB / 0.8009 GB, free: 134.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.9223, allocations: 126.1 kB / 0.801 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.9225, allocations: 43.61 kB / 0.801 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009869/0.9235, allocations: 434 kB / 0.8014 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.9235, allocations: 2.938 kB / 0.8014 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.9235, allocations: 1.562 kB / 0.8014 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.418e-06/0.9235, allocations: 3.953 kB / 0.8014 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.9253, allocations: 0.9471 MB / 0.8024 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.302e-06/0.9253, allocations: 5.156 kB / 0.8024 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.9256, allocations: 50.02 kB / 0.8024 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003445/0.926, allocations: 81.92 kB / 0.8025 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.9261, allocations: 6.125 kB / 0.8025 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-06/0.9261, allocations: 1.125 kB / 0.8025 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.893e-06/0.9261, allocations: 5.344 kB / 0.8025 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000927/0.927, allocations: 0.5627 MB / 0.8031 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.9273, allocations: 137.4 kB / 0.8032 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.9274, allocations: 3.219 kB / 0.8032 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.9277, allocations: 24.38 kB / 0.8032 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.9278, allocations: 23.34 kB / 0.8032 GB, free: 133 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.9278, allocations: 9.844 kB / 0.8032 GB, free: 133 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003161/0.9282, allocations: 231.8 kB / 0.8035 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.81e-07/0.9282, allocations: 4 kB / 0.8035 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000672/0.9289, allocations: 91.19 kB / 0.8036 GB, free: 132.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.9291, allocations: 117.8 kB / 0.8037 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008921/0.93, allocations: 0.5869 MB / 0.8042 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.443e-06/0.93, allocations: 0 / 0.8042 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004479/0.9304, allocations: 423.3 kB / 0.8046 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008766/0.9313, allocations: 119.1 kB / 0.8048 GB, free: 131.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.9325, allocations: 0.5148 MB / 0.8053 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.9328, allocations: 0.8327 MB / 0.8061 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003454/0.9331, allocations: 78.22 kB / 0.8062 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.891e-05/0.9333, allocations: 35.05 kB / 0.8062 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.784e-06/0.9333, allocations: 0 / 0.8062 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.01167/0.945, allocations: 4.324 MB / 0.8104 GB, free: 128.4 MB / 0.6511 GB