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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",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.368/1.368, allocations: 252 MB / 267.9 MB, free: 10.95 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.0009607/0.0009607, allocations: 180.3 kB / 327.6 MB, free: 2.188 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.58/1.58, allocations: 205.4 MB / 0.5785 GB, free: 20.52 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.0008303/0.0008303, allocations: 85.83 kB / 0.6831 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004388, allocations: 14.22 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2131, allocations: 106.3 MB / 0.9012 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.3966, allocations: 159.9 MB / 1.057 GB, free: 28 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.4472/0.8438, allocations: 87.7 kB / 1.057 GB, free: 153.4 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.0427/0.8866, allocations: 17.89 MB / 1.075 GB, free: 151.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8866, allocations: 7.938 kB / 1.075 GB, free: 151.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.78e-05/0.8866, allocations: 7.5 kB / 1.075 GB, free: 151.1 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.001294/0.8879, allocations: 0.6383 MB / 1.076 GB, free: 150.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.888, allocations: 9.312 kB / 1.076 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008935/0.8889, allocations: 114.8 kB / 1.076 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006118/0.8895, allocations: 332.9 kB / 1.076 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.8896, allocations: 55 kB / 1.076 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.272e-05/0.8897, allocations: 33.25 kB / 1.076 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009087/0.8906, allocations: 0.4997 MB / 1.077 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.8906, allocations: 3.938 kB / 1.077 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.8907, allocations: 15.28 kB / 1.077 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.8907, allocations: 26.33 kB / 1.077 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.8915, allocations: 392.6 kB / 1.077 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.894, allocations: 2.228 MB / 1.079 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00077/0.8948, allocations: 268.4 kB / 1.079 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003715/0.8952, allocations: 161 kB / 1.08 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.8952, allocations: 2.375 kB / 1.08 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.8953, allocations: 34.59 kB / 1.08 GB, free: 148 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.8953, allocations: 0.8438 kB / 1.08 GB, free: 148 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001392/0.8967, allocations: 0.5915 MB / 1.08 GB, free: 147.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.8967, allocations: 54.75 kB / 1.08 GB, free: 147.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.8969, allocations: 224.6 kB / 1.08 GB, free: 147.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.897, allocations: 30.8 kB / 1.08 GB, free: 147.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.8971, allocations: 210.9 kB / 1.081 GB, free: 147.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.8971, allocations: 67.66 kB / 1.081 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.8971, allocations: 5.25 kB / 1.081 GB, free: 147.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.8972, allocations: 331.3 kB / 1.081 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.8974, allocations: 93.72 kB / 1.081 GB, free: 146.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.8977, allocations: 180.2 kB / 1.081 GB, free: 146.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.8982, allocations: 278.5 kB / 1.082 GB, free: 146.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.8982, allocations: 1.156 kB / 1.082 GB, free: 146.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008285/0.899, allocations: 403.2 kB / 1.082 GB, free: 146.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.492e-05/0.8991, allocations: 155.2 kB / 1.082 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8992, allocations: 2.938 kB / 1.082 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/0.8997, allocations: 115.9 kB / 1.082 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.8999, allocations: 55.69 kB / 1.082 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.9023, allocations: 2.824 MB / 1.085 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.9026, allocations: 42.05 kB / 1.085 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.9026, allocations: 8.625 kB / 1.085 GB, free: 143.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.9027, allocations: 4.406 kB / 1.085 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006879/0.9034, allocations: 320.5 kB / 1.085 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9034, allocations: 3.312 kB / 1.085 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.9036, allocations: 77.34 kB / 1.085 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.9039, allocations: 58.59 kB / 1.086 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.9052, allocations: 1.496 MB / 1.087 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.9055, allocations: 35.45 kB / 1.087 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.9055, allocations: 15.62 kB / 1.087 GB, free: 142.1 MB / 0.698 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 (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.0001789/0.9057, allocations: 248.5 kB / 1.087 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.9057, allocations: 23.53 kB / 1.087 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.9058, allocations: 28.98 kB / 1.087 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9058, allocations: 144 / 1.087 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.9058, allocations: 11.81 kB / 1.087 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.9058, allocations: 3.984 kB / 1.087 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.9069, allocations: 0.84 MB / 1.088 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.9069, allocations: 1.406 kB / 1.088 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.907, allocations: 37.69 kB / 1.088 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003486/0.9074, allocations: 102 kB / 1.088 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.9074, allocations: 4.812 kB / 1.088 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/0.9095, allocations: 2.81 MB / 1.091 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9095, allocations: 1.031 kB / 1.091 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007684/0.9103, allocations: 425.6 kB / 1.091 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.9104, allocations: 116.8 kB / 1.092 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.9104, allocations: 5.203 kB / 1.092 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.9106, allocations: 15.38 kB / 1.092 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.9107, allocations: 24.22 kB / 1.092 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.9107, allocations: 5.188 kB / 1.092 GB, free: 138.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001242/0.9108, allocations: 162.4 kB / 1.092 GB, free: 138.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9108, allocations: 0 / 1.092 GB, free: 138.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006914/0.9115, allocations: 172.1 kB / 1.092 GB, free: 138.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 15 * 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.0001358/0.9117, allocations: 107.9 kB / 1.092 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001811/0.9135, allocations: 0.7648 MB / 1.093 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.9135, allocations: 0.5625 kB / 1.093 GB, free: 137.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006934/0.9142, allocations: 378.9 kB / 1.093 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.9147, allocations: 55.41 kB / 1.093 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.9159, allocations: 0.7015 MB / 1.094 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.9161, allocations: 0.8098 MB / 1.095 GB, free: 135.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002268/0.9164, allocations: 52.25 kB / 1.095 GB, free: 135.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.9164, allocations: 18.94 kB / 1.095 GB, free: 135.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.9164, allocations: 0 / 1.095 GB, free: 135.9 MB / 0.698 GB Notification: Performance of Templates: time 0.007099/0.9235, allocations: 4.152 MB / 1.099 GB, free: 133.8 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 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)