Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.116/4.116, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.265e-05/2.267e-05, allocations: 3.625 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2826, allocations: 98.74 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2638/0.5465, allocations: 144.6 MB / 0.7701 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.5469, allocations: 87.92 kB / 0.7702 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6195/1.166, allocations: 16.08 MB / 0.7859 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.114e-06/1.166, allocations: 0 / 0.7859 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.599e-05/1.167, allocations: 5.312 kB / 0.7859 GB, free: 143.7 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001044/1.168, allocations: 0.5211 MB / 0.7864 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.168, allocations: 9.844 kB / 0.7864 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/1.169, allocations: 95.81 kB / 0.7865 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/1.169, allocations: 258 kB / 0.7868 GB, free: 143 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/1.169, allocations: 5.844 kB / 0.7868 GB, free: 143 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.524e-05/1.169, allocations: 11.34 kB / 0.7868 GB, free: 143 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006495/1.17, allocations: 219.3 kB / 0.787 GB, free: 143 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007115/1.171, allocations: 331 kB / 0.7873 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/1.171, allocations: 1.094 kB / 0.7873 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/1.171, allocations: 1.188 kB / 0.7873 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.988e-05/1.171, allocations: 26.73 kB / 0.7873 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/1.174, allocations: 1.674 MB / 0.789 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/1.175, allocations: 303.4 kB / 0.7892 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/1.175, allocations: 135.1 kB / 0.7894 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/1.175, allocations: 88.81 kB / 0.7895 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/1.175, allocations: 40.52 kB / 0.7895 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 3.486e-06/1.175, allocations: 0 / 0.7895 GB, free: 141.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.001312/1.177, allocations: 366 kB / 0.7898 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/1.177, allocations: 80.03 kB / 0.7899 GB, free: 141.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/1.177, allocations: 171 kB / 0.7901 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/1.177, allocations: 26.67 kB / 0.7901 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/1.177, allocations: 162.4 kB / 0.7903 GB, free: 141 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.482e-05/1.177, allocations: 74.03 kB / 0.7903 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/1.177, allocations: 0 / 0.7903 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.995e-05/1.177, allocations: 330.8 kB / 0.7907 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/1.177, allocations: 112.2 kB / 0.7908 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/1.178, allocations: 188.7 kB / 0.7909 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/1.178, allocations: 154.6 kB / 0.7911 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.178, allocations: 1.438 kB / 0.7911 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001024/1.179, allocations: 379.7 kB / 0.7915 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002255/1.18, allocations: 1.048 MB / 0.7925 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/1.18, allocations: 3.25 kB / 0.7925 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003113/1.18, allocations: 48.62 kB / 0.7925 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/1.18, allocations: 71.23 kB / 0.7926 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/1.182, allocations: 1.433 MB / 0.794 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/1.182, allocations: 33.94 kB / 0.794 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/1.182, allocations: 12.17 kB / 0.794 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/1.183, allocations: 4.375 kB / 0.794 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001105/1.184, allocations: 303.3 kB / 0.7943 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.184, allocations: 3.469 kB / 0.7943 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002702/1.184, allocations: 46.06 kB / 0.7944 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006426/1.185, allocations: 69.33 kB / 0.7944 GB, free: 138 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/1.186, allocations: 1.427 MB / 0.7958 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/1.187, allocations: 24.58 kB / 0.7959 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/1.187, allocations: 16.55 kB / 0.7959 GB, free: 136.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001884/1.187, allocations: 115.8 kB / 0.796 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001199/1.188, allocations: 301.6 kB / 0.7963 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/1.189, allocations: 17.53 kB / 0.7963 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/1.19, allocations: 327 kB / 0.7966 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.19, allocations: 2.719 kB / 0.7966 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.19, allocations: 1.281 kB / 0.7966 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/1.19, allocations: 1.281 kB / 0.7966 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/1.193, allocations: 0.8767 MB / 0.7975 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/1.193, allocations: 2.625 kB / 0.7975 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/1.193, allocations: 54.22 kB / 0.7975 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/1.193, allocations: 35.62 kB / 0.7976 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/1.194, allocations: 7.875 kB / 0.7976 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/1.195, allocations: 1.358 MB / 0.7989 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/1.195, allocations: 2.312 kB / 0.7989 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/1.196, allocations: 0.5867 MB / 0.7995 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/1.197, allocations: 125.8 kB / 0.7996 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/1.197, allocations: 11.25 kB / 0.7996 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/1.197, allocations: 19.09 kB / 0.7996 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/1.197, allocations: 20.03 kB / 0.7996 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/1.197, allocations: 11.09 kB / 0.7996 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002169/1.198, allocations: 142.2 kB / 0.7998 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/1.198, allocations: 0 / 0.7998 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001473/1.199, allocations: 107 kB / 0.7999 GB, free: 134.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * 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: 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.001763/1.201, allocations: 1.616 MB / 0.8015 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001973/1.203, allocations: 0.6459 MB / 0.8021 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.203, allocations: 0 / 0.8021 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006791/1.204, allocations: 242.9 kB / 0.8023 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007475/1.205, allocations: 32.78 kB / 0.8024 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/1.207, allocations: 483.1 kB / 0.8028 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004152/1.207, allocations: 0.7751 MB / 0.8036 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006963/1.208, allocations: 91.48 kB / 0.8037 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/1.208, allocations: 64.03 kB / 0.8037 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.182e-06/1.208, allocations: 0 / 0.8037 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07397/1.282, allocations: 4.814 MB / 0.8084 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.282, allocations: 161.3 kB / 0.8086 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.748, allocations: 0 / 0.8086 GB, free: 130.9 MB / 0.6511 GB