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.GridDCLoad.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.GridDCLoad,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.11/4.11, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.794e-05, allocations: 6 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2324, allocations: 98.73 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8475/1.08, allocations: 154.3 MB / 0.7796 GB, free: 62.05 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/1.08, allocations: 90.06 kB / 0.7797 GB, free: 62.05 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.07153/1.152, allocations: 17.77 MB / 0.797 GB, free: 60.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.413e-06/1.152, allocations: 0 / 0.797 GB, free: 60.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.341e-05/1.152, allocations: 4 kB / 0.797 GB, free: 60.38 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001027/1.153, allocations: 0.5251 MB / 0.7975 GB, free: 59.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.153, allocations: 9.375 kB / 0.7976 GB, free: 59.94 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/1.155, allocations: 116.8 kB / 0.7977 GB, free: 59.92 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/1.155, allocations: 261.6 kB / 0.7979 GB, free: 59.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/1.155, allocations: 6.375 kB / 0.7979 GB, free: 59.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/1.155, allocations: 10.44 kB / 0.7979 GB, free: 59.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006362/1.156, allocations: 226.8 kB / 0.7982 GB, free: 59.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/1.156, allocations: 313.8 kB / 0.7984 GB, free: 59.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/1.156, allocations: 4 kB / 0.7985 GB, free: 59.61 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/1.157, allocations: 1.594 kB / 0.7985 GB, free: 59.61 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/1.157, allocations: 23.06 kB / 0.7985 GB, free: 59.61 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/1.16, allocations: 1.685 MB / 0.8001 GB, free: 58.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007497/1.16, allocations: 317.5 kB / 0.8004 GB, free: 58.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/1.161, allocations: 101.6 kB / 0.8005 GB, free: 58.23 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/1.161, allocations: 92.05 kB / 0.8006 GB, free: 58.13 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/1.161, allocations: 35.22 kB / 0.8006 GB, free: 58.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 3.126e-06/1.161, allocations: 0 / 0.8006 GB, free: 58.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.002761/1.164, allocations: 0.6908 MB / 0.8013 GB, free: 57.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/1.164, allocations: 80.36 kB / 0.8014 GB, free: 57.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/1.164, allocations: 180 kB / 0.8016 GB, free: 57.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/1.164, allocations: 25.7 kB / 0.8016 GB, free: 57.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/1.164, allocations: 164.6 kB / 0.8017 GB, free: 57.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/1.164, allocations: 85.11 kB / 0.8018 GB, free: 57.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/1.164, allocations: 0 / 0.8018 GB, free: 57.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/1.164, allocations: 336.5 kB / 0.8022 GB, free: 57.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/1.165, allocations: 118.8 kB / 0.8023 GB, free: 57.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/1.165, allocations: 194.9 kB / 0.8024 GB, free: 57.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/1.166, allocations: 188.4 kB / 0.8026 GB, free: 57.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.166, allocations: 1.125 kB / 0.8026 GB, free: 57.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001555/1.167, allocations: 0.5032 MB / 0.8031 GB, free: 57.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/1.167, allocations: 10.19 kB / 0.8031 GB, free: 57.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.167, allocations: 3.344 kB / 0.8031 GB, free: 57.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/1.168, allocations: 135.1 kB / 0.8033 GB, free: 56.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/1.168, allocations: 56.23 kB / 0.8033 GB, free: 56.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/1.172, allocations: 3.854 MB / 0.8071 GB, free: 53.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/1.172, allocations: 12.73 kB / 0.8071 GB, free: 53.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/1.172, allocations: 14.34 kB / 0.8071 GB, free: 53.52 MB / 0.6511 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] 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 (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001867/1.172, allocations: 117.8 kB / 0.8072 GB, free: 53.4 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001333/1.174, allocations: 433 kB / 0.8076 GB, free: 53.31 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/1.174, allocations: 21.47 kB / 0.8077 GB, free: 53.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/1.175, allocations: 472.9 kB / 0.8081 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/1.175, allocations: 6.281 kB / 0.8081 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.175, allocations: 2.062 kB / 0.8081 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.175, allocations: 0 / 0.8081 GB, free: 53.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/1.178, allocations: 0.9448 MB / 0.809 GB, free: 52.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/1.178, allocations: 1.656 kB / 0.809 GB, free: 52.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/1.178, allocations: 28.86 kB / 0.8091 GB, free: 52.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005694/1.179, allocations: 140.1 kB / 0.8092 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/1.179, allocations: 10.58 kB / 0.8092 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/1.182, allocations: 3.83 MB / 0.8129 GB, free: 49.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.182, allocations: 3.938 kB / 0.813 GB, free: 49.33 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/1.183, allocations: 0.7359 MB / 0.8137 GB, free: 48.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/1.183, allocations: 128.7 kB / 0.8138 GB, free: 48.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/1.183, allocations: 6.906 kB / 0.8138 GB, free: 48.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/1.184, allocations: 16.5 kB / 0.8138 GB, free: 48.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/1.184, allocations: 28.89 kB / 0.8138 GB, free: 48.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/1.184, allocations: 10.56 kB / 0.8139 GB, free: 48.72 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001773/1.184, allocations: 143.3 kB / 0.814 GB, free: 48.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.12e-07/1.184, allocations: 0 / 0.814 GB, free: 48.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008113/1.185, allocations: 91.31 kB / 0.8141 GB, free: 48.63 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001814/1.187, allocations: 1.933 MB / 0.816 GB, free: 47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001197/1.188, allocations: 0.5099 MB / 0.8165 GB, free: 46.78 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.188, allocations: 0 / 0.8165 GB, free: 46.78 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006739/1.189, allocations: 377.6 kB / 0.8168 GB, free: 46.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/1.189, allocations: 38.16 kB / 0.8169 GB, free: 46.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/1.191, allocations: 0.524 MB / 0.8174 GB, free: 46.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/1.191, allocations: 0.7948 MB / 0.8181 GB, free: 45.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003003/1.191, allocations: 55.02 kB / 0.8182 GB, free: 45.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/1.191, allocations: 69.56 kB / 0.8183 GB, free: 45.57 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.192, allocations: 0 / 0.8183 GB, free: 45.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04762/1.239, allocations: 5.653 MB / 0.8238 GB, free: 45.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/1.239, allocations: 145.2 kB / 0.8239 GB, free: 45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.753, allocations: 0 / 0.8239 GB, free: 45 MB / 0.6511 GB