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.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadModel(Buildings): time 4.168/4.168, allocations: 432.7 MB / 445.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.11e-05, allocations: 3.844 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2269, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6829/0.9099, allocations: 146.3 MB / 0.7776 GB, free: 55.77 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/0.9103, allocations: 95.25 kB / 0.7777 GB, free: 55.77 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06708/0.9774, allocations: 16.9 MB / 0.7942 GB, free: 54.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.068e-06/0.9775, allocations: 0 / 0.7942 GB, free: 54.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.688e-05/0.9775, allocations: 5.562 kB / 0.7942 GB, free: 54.18 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001207/0.9787, allocations: 0.615 MB / 0.7948 GB, free: 53.7 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.9788, allocations: 8.812 kB / 0.7948 GB, free: 53.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.9799, allocations: 96.58 kB / 0.7949 GB, free: 53.69 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.9803, allocations: 276.3 kB / 0.7951 GB, free: 53.46 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.9804, allocations: 24.25 kB / 0.7952 GB, free: 53.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.9805, allocations: 19.09 kB / 0.7952 GB, free: 53.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008095/0.9813, allocations: 369.5 kB / 0.7955 GB, free: 53.36 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.9813, allocations: 0 / 0.7955 GB, free: 53.36 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.9814, allocations: 15.86 kB / 0.7956 GB, free: 53.35 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.767e-05/0.9815, allocations: 24.61 kB / 0.7956 GB, free: 53.34 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.9822, allocations: 317.3 kB / 0.7959 GB, free: 53.34 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.9847, allocations: 1.654 MB / 0.7975 GB, free: 52.24 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.9858, allocations: 399.7 kB / 0.7979 GB, free: 52.18 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.9861, allocations: 156.1 kB / 0.798 GB, free: 52.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.9863, allocations: 91.08 kB / 0.7981 GB, free: 52.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004583/0.9868, allocations: 232 kB / 0.7983 GB, free: 51.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 3.535e-06/0.9868, allocations: 0 / 0.7983 GB, free: 51.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28): time 0.001267/0.9881, allocations: 427.8 kB / 0.7987 GB, free: 51.89 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.9881, allocations: 83.22 kB / 0.7988 GB, free: 51.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.9884, allocations: 200.1 kB / 0.799 GB, free: 51.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.9885, allocations: 34.14 kB / 0.799 GB, free: 51.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.9886, allocations: 176.7 kB / 0.7992 GB, free: 51.54 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.241e-05/0.9887, allocations: 85.97 kB / 0.7993 GB, free: 51.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.9887, allocations: 6.344 kB / 0.7993 GB, free: 51.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.9888, allocations: 338.8 kB / 0.7996 GB, free: 51.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.9892, allocations: 132.9 kB / 0.7998 GB, free: 51.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003413/0.9895, allocations: 202 kB / 0.7999 GB, free: 51.08 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.9899, allocations: 195.3 kB / 0.8001 GB, free: 51.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.734e-06/0.9899, allocations: 1 kB / 0.8001 GB, free: 51.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001178/0.9911, allocations: 471 kB / 0.8006 GB, free: 50.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002145/0.9914, allocations: 0.9041 MB / 0.8015 GB, free: 49.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.9914, allocations: 6.219 kB / 0.8015 GB, free: 49.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/0.9917, allocations: 43.02 kB / 0.8015 GB, free: 49.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/0.9923, allocations: 90.22 kB / 0.8016 GB, free: 49.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.9938, allocations: 1.501 MB / 0.8031 GB, free: 48.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.9943, allocations: 50.98 kB / 0.8031 GB, free: 48.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-05/0.9944, allocations: 15.92 kB / 0.8031 GB, free: 48.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.9944, allocations: 7.719 kB / 0.8031 GB, free: 48.64 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001012/0.9955, allocations: 409 kB / 0.8035 GB, free: 48.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.9955, allocations: 2.562 kB / 0.8035 GB, free: 48.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/0.9957, allocations: 43.14 kB / 0.8036 GB, free: 48.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004877/0.9962, allocations: 90 kB / 0.8037 GB, free: 48.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.9975, allocations: 1.483 MB / 0.8051 GB, free: 47.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.998, allocations: 47.66 kB / 0.8051 GB, free: 47.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.998, allocations: 19.02 kB / 0.8052 GB, free: 47.25 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.9982, allocations: 129.3 kB / 0.8053 GB, free: 47.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.589e-05/0.9983, allocations: 25.23 kB / 0.8053 GB, free: 47.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009605/0.9993, allocations: 396.3 kB / 0.8057 GB, free: 47.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.978e-06/0.9993, allocations: 3.656 kB / 0.8057 GB, free: 47.05 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.124e-06/0.9993, allocations: 0 / 0.8057 GB, free: 47.05 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.152e-06/0.9994, allocations: 1.062 kB / 0.8057 GB, free: 47.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000798/1, allocations: 0.5687 MB / 0.8063 GB, free: 46.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.766e-06/1, allocations: 0 / 0.8063 GB, free: 46.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/1.001, allocations: 82.03 kB / 0.8063 GB, free: 46.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/1.001, allocations: 39.67 kB / 0.8064 GB, free: 46.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/1.001, allocations: 7.422 kB / 0.8064 GB, free: 46.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/1.002, allocations: 1.416 MB / 0.8078 GB, free: 45.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.412e-06/1.002, allocations: 1.875 kB / 0.8078 GB, free: 45.43 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008823/1.003, allocations: 0.5003 MB / 0.8082 GB, free: 45.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/1.003, allocations: 136.7 kB / 0.8084 GB, free: 45.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.222e-05/1.003, allocations: 7.188 kB / 0.8084 GB, free: 45.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/1.004, allocations: 37.81 kB / 0.8084 GB, free: 45.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.004, allocations: 32.22 kB / 0.8085 GB, free: 45.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/1.004, allocations: 17.77 kB / 0.8085 GB, free: 45.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002222/1.004, allocations: 170.6 kB / 0.8086 GB, free: 45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.21e-07/1.004, allocations: 3.938 kB / 0.8086 GB, free: 44.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009482/1.005, allocations: 148.1 kB / 0.8088 GB, free: 44.98 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: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002242/1.005, allocations: 132 kB / 0.8089 GB, free: 44.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001669/1.007, allocations: 0.8803 MB / 0.8098 GB, free: 44.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.565e-06/1.007, allocations: 0 / 0.8098 GB, free: 44.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005646/1.008, allocations: 297.8 kB / 0.81 GB, free: 44.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/1.008, allocations: 40.25 kB / 0.8101 GB, free: 44.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/1.009, allocations: 465 kB / 0.8105 GB, free: 44.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/1.01, allocations: 0.7956 MB / 0.8113 GB, free: 43.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004611/1.01, allocations: 100.1 kB / 0.8114 GB, free: 43.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/1.01, allocations: 29.41 kB / 0.8114 GB, free: 43.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.793e-06/1.01, allocations: 0 / 0.8114 GB, free: 43.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.01157/1.022, allocations: 4.31 MB / 0.8156 GB, free: 43.2 MB / 0.6511 GB