Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.976/4.976, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 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.002434/0.002434, allocations: 360.4 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.273/4.273, allocations: 410.7 MB / 1.113 GB, free: 6.039 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.001823/0.001823, allocations: 187.2 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005026, allocations: 16 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7428/0.7433, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2421/0.9855, allocations: 165 MB / 1.623 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/0.9859, allocations: 101.2 kB / 1.623 GB, free: 119 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04056/1.026, allocations: 11.77 MB / 1.634 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.395e-06/1.027, allocations: 5.406 kB / 1.634 GB, free: 107.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.036e-05/1.027, allocations: 4 kB / 1.634 GB, free: 107.2 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000874/1.027, allocations: 0.5065 MB / 1.635 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.028, allocations: 11.62 kB / 1.635 GB, free: 106.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009101/1.028, allocations: 79.66 kB / 1.635 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/1.029, allocations: 252.8 kB / 1.635 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/1.029, allocations: 17 kB / 1.635 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/1.029, allocations: 16.62 kB / 1.635 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/1.03, allocations: 315.9 kB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/1.03, allocations: 4.75 kB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/1.03, allocations: 8 kB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/1.03, allocations: 13.38 kB / 1.635 GB, free: 105.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005699/1.03, allocations: 219.2 kB / 1.635 GB, free: 105.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/1.032, allocations: 1.487 MB / 1.637 GB, free: 104.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005753/1.033, allocations: 210.6 kB / 1.637 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/1.033, allocations: 43.25 kB / 1.637 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/1.033, allocations: 4 kB / 1.637 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/1.033, allocations: 34.55 kB / 1.637 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 3.737e-06/1.033, allocations: 0.5156 kB / 1.637 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0007771/1.034, allocations: 266.6 kB / 1.637 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/1.034, allocations: 51.41 kB / 1.638 GB, free: 103.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/1.034, allocations: 214.5 kB / 1.638 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/1.034, allocations: 25.7 kB / 1.638 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/1.034, allocations: 173.5 kB / 1.638 GB, free: 103 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/1.034, allocations: 31.56 kB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/1.034, allocations: 4 kB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.892e-05/1.034, allocations: 328.5 kB / 1.638 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/1.035, allocations: 44.81 kB / 1.638 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/1.035, allocations: 107.3 kB / 1.638 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/1.035, allocations: 59.44 kB / 1.638 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.035, allocations: 4 kB / 1.638 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005659/1.036, allocations: 209.4 kB / 1.639 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.036, allocations: 8.656 kB / 1.639 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.036, allocations: 0 / 1.639 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/1.036, allocations: 30.44 kB / 1.639 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/1.036, allocations: 36.05 kB / 1.639 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/1.037, allocations: 1.316 MB / 1.64 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/1.037, allocations: 19.84 kB / 1.64 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/1.037, allocations: 8 kB / 1.64 GB, free: 100.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (18): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001948/1.038, allocations: 149.7 kB / 1.64 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/1.038, allocations: 22.52 kB / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/1.038, allocations: 21.39 kB / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/1.038, allocations: 0 / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.038, allocations: 0 / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/1.038, allocations: 4 kB / 1.64 GB, free: 100.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007803/1.039, allocations: 485 kB / 1.641 GB, free: 99.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/1.039, allocations: 0 / 1.641 GB, free: 99.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/1.039, allocations: 13.89 kB / 1.641 GB, free: 99.89 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/1.039, allocations: 24.94 kB / 1.641 GB, free: 99.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/1.039, allocations: 3.938 kB / 1.641 GB, free: 99.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009326/1.04, allocations: 1.31 MB / 1.642 GB, free: 98.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.04, allocations: 0 / 1.642 GB, free: 98.42 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/1.04, allocations: 238 kB / 1.642 GB, free: 98.17 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/1.04, allocations: 104.9 kB / 1.642 GB, free: 98.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/1.04, allocations: 0 / 1.642 GB, free: 98.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/1.041, allocations: 9.281 kB / 1.642 GB, free: 98.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/1.041, allocations: 3.984 kB / 1.642 GB, free: 98.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/1.041, allocations: 9.172 kB / 1.642 GB, free: 98.03 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001584/1.041, allocations: 152.2 kB / 1.643 GB, free: 97.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/1.041, allocations: 0 / 1.643 GB, free: 97.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004485/1.041, allocations: 60.47 kB / 1.643 GB, free: 97.82 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/1.041, allocations: 100.1 kB / 1.643 GB, free: 97.71 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005799/1.042, allocations: 233.2 kB / 1.643 GB, free: 97.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.042, allocations: 1.344 kB / 1.643 GB, free: 97.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/1.042, allocations: 164.3 kB / 1.643 GB, free: 97.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/1.043, allocations: 31.97 kB / 1.643 GB, free: 97.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008704/1.044, allocations: 463.8 kB / 1.644 GB, free: 96.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/1.044, allocations: 0.773 MB / 1.644 GB, free: 96.01 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00018/1.044, allocations: 25.83 kB / 1.644 GB, free: 95.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/1.044, allocations: 23.36 kB / 1.644 GB, free: 95.97 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/1.044, allocations: 0 / 1.644 GB, free: 95.97 MB / 0.8542 GB Notification: Performance of Templates: time 0.006544/1.051, allocations: 1.743 MB / 1.646 GB, free: 94.32 MB / 0.8542 GB