Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.918/4.918, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002553/0.002553, allocations: 359.5 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.37/4.37, allocations: 410.7 MB / 1.113 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002206/0.002206, allocations: 178.9 kB / 1.226 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005087, allocations: 11.98 kB / 1.349 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7358/0.7364, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2708/1.007, allocations: 168.3 MB / 1.626 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005112/1.008, allocations: 91.95 kB / 1.626 GB, free: 115.7 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.07204/1.08, allocations: 18 MB / 1.643 GB, free: 97.76 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.653e-06/1.08, allocations: 0.5938 kB / 1.643 GB, free: 97.76 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.113e-05/1.08, allocations: 4 kB / 1.643 GB, free: 97.76 MB / 0.8542 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.001/1.081, allocations: 0.549 MB / 1.644 GB, free: 97.16 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.081, allocations: 15.62 kB / 1.644 GB, free: 97.15 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/1.082, allocations: 99.61 kB / 1.644 GB, free: 97.05 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/1.083, allocations: 263.3 kB / 1.644 GB, free: 96.76 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/1.083, allocations: 16.42 kB / 1.644 GB, free: 96.74 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/1.083, allocations: 17.59 kB / 1.644 GB, free: 96.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/1.084, allocations: 350.5 kB / 1.645 GB, free: 96.36 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/1.084, allocations: 0 / 1.645 GB, free: 96.36 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/1.084, allocations: 13.56 kB / 1.645 GB, free: 96.35 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-05/1.084, allocations: 16.42 kB / 1.645 GB, free: 96.33 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000689/1.085, allocations: 293.5 kB / 1.645 GB, free: 96.05 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/1.087, allocations: 1.739 MB / 1.647 GB, free: 94.15 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/1.088, allocations: 327 kB / 1.647 GB, free: 93.79 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/1.088, allocations: 107.8 kB / 1.647 GB, free: 93.68 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/1.088, allocations: 85.09 kB / 1.647 GB, free: 93.58 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.088, allocations: 39.28 kB / 1.647 GB, free: 93.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 3.537e-06/1.088, allocations: 0.7188 kB / 1.647 GB, free: 93.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.00378/1.092, allocations: 0.981 MB / 1.648 GB, free: 92.53 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/1.092, allocations: 77.3 kB / 1.648 GB, free: 92.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/1.093, allocations: 209.8 kB / 1.648 GB, free: 92.22 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/1.093, allocations: 25.7 kB / 1.648 GB, free: 92.19 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.782e-05/1.093, allocations: 172.1 kB / 1.649 GB, free: 92.02 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.486e-05/1.093, allocations: 86.78 kB / 1.649 GB, free: 91.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/1.093, allocations: 7.812 kB / 1.649 GB, free: 91.93 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/1.093, allocations: 334.8 kB / 1.649 GB, free: 91.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/1.093, allocations: 127.9 kB / 1.649 GB, free: 91.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/1.094, allocations: 212.1 kB / 1.649 GB, free: 91.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/1.094, allocations: 159 kB / 1.65 GB, free: 91.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.094, allocations: 0 / 1.65 GB, free: 91.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001321/1.095, allocations: 0.5126 MB / 1.65 GB, free: 90.55 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/1.095, allocations: 4 kB / 1.65 GB, free: 90.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.095, allocations: 4 kB / 1.65 GB, free: 90.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007387/1.096, allocations: 150.8 kB / 1.65 GB, free: 90.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/1.097, allocations: 63.89 kB / 1.65 GB, free: 90.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/1.1, allocations: 3.947 MB / 1.654 GB, free: 86.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/1.1, allocations: 28.02 kB / 1.654 GB, free: 86.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/1.1, allocations: 16.84 kB / 1.654 GB, free: 86.02 MB / 0.8542 GB 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 () * Number of clocked 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.0002426/1.1, allocations: 164.4 kB / 1.654 GB, free: 85.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/1.101, allocations: 19.81 kB / 1.654 GB, free: 85.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/1.102, allocations: 485.2 kB / 1.655 GB, free: 85.35 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/1.102, allocations: 0 / 1.655 GB, free: 85.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/1.102, allocations: 4.531 kB / 1.655 GB, free: 85.35 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.102, allocations: 3.984 kB / 1.655 GB, free: 85.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/1.104, allocations: 1.009 MB / 1.656 GB, free: 84.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/1.104, allocations: 0 / 1.656 GB, free: 84.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/1.104, allocations: 37 kB / 1.656 GB, free: 84.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007059/1.105, allocations: 145.6 kB / 1.656 GB, free: 84.06 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/1.105, allocations: 12 kB / 1.656 GB, free: 84.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/1.108, allocations: 3.941 MB / 1.66 GB, free: 79.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.108, allocations: 0 / 1.66 GB, free: 79.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/1.109, allocations: 0.6197 MB / 1.66 GB, free: 79.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/1.109, allocations: 130.3 kB / 1.661 GB, free: 78.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/1.109, allocations: 11.98 kB / 1.661 GB, free: 78.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/1.11, allocations: 23.94 kB / 1.661 GB, free: 78.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/1.11, allocations: 25.75 kB / 1.661 GB, free: 78.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/1.11, allocations: 8 kB / 1.661 GB, free: 78.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001842/1.11, allocations: 155.8 kB / 1.661 GB, free: 78.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.8e-07/1.11, allocations: 1.219 kB / 1.661 GB, free: 78.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007123/1.111, allocations: 103.9 kB / 1.661 GB, free: 78.67 MB / 0.8542 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 () * Number of clocked 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.0002508/1.111, allocations: 141.8 kB / 1.661 GB, free: 78.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001188/1.112, allocations: 0.5621 MB / 1.662 GB, free: 77.94 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.112, allocations: 0 / 1.662 GB, free: 77.94 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007231/1.113, allocations: 399.5 kB / 1.662 GB, free: 77.52 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006903/1.114, allocations: 50.55 kB / 1.662 GB, free: 77.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/1.115, allocations: 0.7247 MB / 1.663 GB, free: 76.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/1.116, allocations: 0.7903 MB / 1.663 GB, free: 75.89 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002976/1.116, allocations: 62.31 kB / 1.663 GB, free: 75.84 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/1.116, allocations: 28.41 kB / 1.664 GB, free: 75.81 MB / 0.8542 GB Notification: Performance of SimCode: time 8.31e-07/1.116, allocations: 3.938 kB / 1.664 GB, free: 75.81 MB / 0.8542 GB Notification: Performance of Templates: time 0.01056/1.126, allocations: 3.879 MB / 1.667 GB, free: 72.07 MB / 0.8542 GB