Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 177.7 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 0.5785 GB, free: 20.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007908/0.0007908, allocations: 94.83 kB / 0.6831 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004558, allocations: 16.12 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2177, allocations: 106.3 MB / 0.9012 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.4015, allocations: 158.9 MB / 1.056 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.4018, allocations: 95.94 kB / 1.057 GB, free: 0.7539 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.426/0.8278, allocations: 11.79 MB / 1.068 GB, free: 154.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8279, allocations: 0 / 1.068 GB, free: 154.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.8279, allocations: 7.031 kB / 1.068 GB, free: 154.6 MB / 0.698 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.0007127/0.8286, allocations: 0.5001 MB / 1.069 GB, free: 154.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8287, allocations: 9.75 kB / 1.069 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006142/0.8293, allocations: 94.06 kB / 1.069 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.8296, allocations: 252.9 kB / 1.069 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.8296, allocations: 17.34 kB / 1.069 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.8297, allocations: 16.44 kB / 1.069 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.8302, allocations: 317 kB / 1.069 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.8302, allocations: 0.7188 kB / 1.069 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.8303, allocations: 13.66 kB / 1.069 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.8303, allocations: 12.56 kB / 1.069 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.8307, allocations: 212.3 kB / 1.069 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.832, allocations: 1.495 MB / 1.071 GB, free: 152.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.8324, allocations: 204.5 kB / 1.071 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.8325, allocations: 47 kB / 1.071 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.8325, allocations: 5.156 kB / 1.071 GB, free: 152.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.8326, allocations: 36.47 kB / 1.071 GB, free: 152.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.8326, allocations: 0 / 1.071 GB, free: 152.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.8331, allocations: 264.9 kB / 1.071 GB, free: 152.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.8332, allocations: 52.69 kB / 1.071 GB, free: 152.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.8334, allocations: 206.1 kB / 1.072 GB, free: 152.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.8334, allocations: 27.33 kB / 1.072 GB, free: 152.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.8335, allocations: 175.9 kB / 1.072 GB, free: 152 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.8335, allocations: 30.39 kB / 1.072 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.8335, allocations: 0.7188 kB / 1.072 GB, free: 151.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.8336, allocations: 329.8 kB / 1.072 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.943e-05/0.8337, allocations: 47.12 kB / 1.072 GB, free: 151.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.8338, allocations: 109.4 kB / 1.072 GB, free: 151.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.834, allocations: 170.9 kB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.834, allocations: 0.7812 kB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003568/0.8344, allocations: 212.5 kB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8344, allocations: 6.094 kB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.8345, allocations: 2 kB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/0.8346, allocations: 25.56 kB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.8348, allocations: 33.66 kB / 1.073 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007697/0.8355, allocations: 1.318 MB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.8357, allocations: 23.44 kB / 1.074 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.8357, allocations: 6.531 kB / 1.074 GB, free: 150.1 MB / 0.698 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.0001361/0.8359, allocations: 148 kB / 1.074 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.8359, allocations: 24.03 kB / 1.074 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.836, allocations: 21.53 kB / 1.074 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.836, allocations: 1.281 kB / 1.074 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.836, allocations: 0.6562 kB / 1.074 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.836, allocations: 0 / 1.074 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005729/0.8366, allocations: 487.1 kB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8366, allocations: 0.75 kB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-05/0.8367, allocations: 13.88 kB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.82e-05/0.8367, allocations: 22.8 kB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.8368, allocations: 8.438 kB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006467/0.8374, allocations: 1.303 MB / 1.076 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8374, allocations: 3.938 kB / 1.076 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.8377, allocations: 238.2 kB / 1.076 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.8378, allocations: 99.2 kB / 1.076 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.8378, allocations: 4.781 kB / 1.076 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.8379, allocations: 13.67 kB / 1.076 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.838, allocations: 3.219 kB / 1.076 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.838, allocations: 10.22 kB / 1.076 GB, free: 148.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001245/0.8381, allocations: 145 kB / 1.077 GB, free: 148 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8381, allocations: 0.8125 kB / 1.077 GB, free: 148 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003482/0.8385, allocations: 54.88 kB / 1.077 GB, free: 148 MB / 0.698 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.0001143/0.8386, allocations: 104.1 kB / 1.077 GB, free: 147.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004205/0.839, allocations: 224.7 kB / 1.077 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8391, allocations: 4.938 kB / 1.077 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.8392, allocations: 157 kB / 1.077 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.8396, allocations: 40.12 kB / 1.077 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.8402, allocations: 484.1 kB / 1.078 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.8405, allocations: 0.7539 MB / 1.078 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.8406, allocations: 29.06 kB / 1.078 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.8406, allocations: 14.94 kB / 1.078 GB, free: 146.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.8406, allocations: 1.094 kB / 1.078 GB, free: 146.7 MB / 0.698 GB Notification: Performance of Templates: time 0.00443/0.8451, allocations: 1.782 MB / 1.08 GB, free: 146.3 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)