Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001112/0.001112, allocations: 190.7 kB / 326.5 MB, free: 2.238 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.9/1.9, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001014/0.001014, allocations: 101 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 14.77 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2131, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5728/0.786, allocations: 159.8 MB / 1.056 GB, free: 62.88 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.7863, allocations: 95.78 kB / 1.056 GB, free: 62.88 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);. [/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);. Notification: Performance of FrontEnd - DAE generated: time 0.04223/0.8285, allocations: 17.87 MB / 1.074 GB, free: 61.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8285, allocations: 1.219 kB / 1.074 GB, free: 61.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.8286, allocations: 7.656 kB / 1.074 GB, free: 61.07 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001003/0.8296, allocations: 0.634 MB / 1.074 GB, free: 60.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.8296, allocations: 9.094 kB / 1.074 GB, free: 60.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007878/0.8304, allocations: 117.4 kB / 1.074 GB, free: 60.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.831, allocations: 327.7 kB / 1.075 GB, free: 60.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/0.831, allocations: 54.61 kB / 1.075 GB, free: 60.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.8311, allocations: 33.75 kB / 1.075 GB, free: 60.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.8319, allocations: 0.4939 MB / 1.075 GB, free: 60.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.8319, allocations: 5.469 kB / 1.075 GB, free: 60.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.8319, allocations: 11.59 kB / 1.075 GB, free: 60.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.832, allocations: 27.34 kB / 1.075 GB, free: 60.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.8326, allocations: 388.6 kB / 1.076 GB, free: 60.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.8349, allocations: 2.23 MB / 1.078 GB, free: 58.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007949/0.8357, allocations: 274.3 kB / 1.078 GB, free: 58.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.8357, allocations: 8 kB / 1.078 GB, free: 58.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.8357, allocations: 39.28 kB / 1.078 GB, free: 58.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.894e-06/0.8357, allocations: 0 / 1.078 GB, free: 58.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001385/0.8371, allocations: 0.5902 MB / 1.079 GB, free: 58.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.8372, allocations: 57.05 kB / 1.079 GB, free: 58.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.8374, allocations: 200.7 kB / 1.079 GB, free: 58.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.8374, allocations: 29.58 kB / 1.079 GB, free: 58.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.04e-05/0.8375, allocations: 215.3 kB / 1.079 GB, free: 57.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.8375, allocations: 62.7 kB / 1.079 GB, free: 57.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/0.8375, allocations: 3.938 kB / 1.079 GB, free: 57.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.8376, allocations: 339.2 kB / 1.08 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.8378, allocations: 97.92 kB / 1.08 GB, free: 57.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.8381, allocations: 180.2 kB / 1.08 GB, free: 57.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.8383, allocations: 123.9 kB / 1.08 GB, free: 57.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8383, allocations: 1.531 kB / 1.08 GB, free: 57.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000859/0.8392, allocations: 390.7 kB / 1.08 GB, free: 57.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.8394, allocations: 0.8665 MB / 1.081 GB, free: 56.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.8394, allocations: 9.969 kB / 1.081 GB, free: 56.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005139/0.84, allocations: 111.3 kB / 1.081 GB, free: 56.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.8402, allocations: 50.58 kB / 1.081 GB, free: 56.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.8425, allocations: 2.076 MB / 1.083 GB, free: 54.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.8428, allocations: 34.66 kB / 1.084 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.8428, allocations: 8.188 kB / 1.084 GB, free: 54.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.8428, allocations: 3.812 kB / 1.084 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007195/0.8436, allocations: 331 kB / 1.084 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.8436, allocations: 2.344 kB / 1.084 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/0.8439, allocations: 79.91 kB / 1.084 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.8441, allocations: 56.31 kB / 1.084 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.8458, allocations: 1.51 MB / 1.085 GB, free: 53.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.8461, allocations: 35.11 kB / 1.085 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.8461, allocations: 13.73 kB / 1.085 GB, free: 53.25 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002535/0.8464, allocations: 250.5 kB / 1.086 GB, free: 53.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.8464, allocations: 19.47 kB / 1.086 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.8465, allocations: 32.47 kB / 1.086 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8465, allocations: 2.062 kB / 1.086 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8465, allocations: 5 kB / 1.086 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.8465, allocations: 0 / 1.086 GB, free: 53.03 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.8469, allocations: 379.9 kB / 1.086 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8469, allocations: 0 / 1.086 GB, free: 52.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.8471, allocations: 43.14 kB / 1.086 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003504/0.8475, allocations: 100.5 kB / 1.086 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.8475, allocations: 2 kB / 1.086 GB, free: 52.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.8496, allocations: 2.833 MB / 1.089 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.8497, allocations: 1.969 kB / 1.089 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.8504, allocations: 413 kB / 1.089 GB, free: 50.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.8505, allocations: 125.4 kB / 1.09 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.8505, allocations: 3.812 kB / 1.09 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.8507, allocations: 10.89 kB / 1.09 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.8508, allocations: 26.48 kB / 1.09 GB, free: 49.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.8508, allocations: 5.625 kB / 1.09 GB, free: 49.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000126/0.8509, allocations: 162.7 kB / 1.09 GB, free: 49.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8509, allocations: 0 / 1.09 GB, free: 49.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000662/0.8516, allocations: 166.9 kB / 1.09 GB, free: 49.87 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 (16): * Single equations (assignments): 14 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000135/0.8517, allocations: 102.4 kB / 1.09 GB, free: 49.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.8535, allocations: 0.6674 MB / 1.091 GB, free: 49.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8535, allocations: 192 / 1.091 GB, free: 49.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006999/0.8542, allocations: 374.3 kB / 1.091 GB, free: 49.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.8546, allocations: 60.42 kB / 1.091 GB, free: 49.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009104/0.8555, allocations: 0.6819 MB / 1.092 GB, free: 48.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.8558, allocations: 0.8163 MB / 1.093 GB, free: 48.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.856, allocations: 63.27 kB / 1.093 GB, free: 48.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.856, allocations: 15.25 kB / 1.093 GB, free: 48.18 MB / 0.698 GB Notification: Performance of SimCode: time 6.51e-07/0.856, allocations: 3.906 kB / 1.093 GB, free: 48.18 MB / 0.698 GB Notification: Performance of Templates: time 0.006794/0.8628, allocations: 3.979 MB / 1.097 GB, free: 47.92 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)