Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 292.6 MB / 307.5 MB, free: 5.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001187/0.001187, allocations: 177 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.4 MB / 0.6367 GB, free: 8.586 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 91.02 kB / 0.751 GB, free: 62.97 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004174, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3189, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8414/1.16, allocations: 167.1 MB / 1.152 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004686/1.161, allocations: 92.19 kB / 1.152 GB, free: 13.24 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.07041/1.231, allocations: 17.87 MB / 1.169 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.895e-06/1.231, allocations: 0 / 1.169 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.988e-05/1.231, allocations: 8 kB / 1.169 GB, free: 13.42 MB / 0.7448 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.001779/1.233, allocations: 0.6331 MB / 1.17 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/1.233, allocations: 20 kB / 1.17 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/1.235, allocations: 107.5 kB / 1.17 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009106/1.236, allocations: 330.8 kB / 1.17 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/1.236, allocations: 58.69 kB / 1.17 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.859e-05/1.236, allocations: 36 kB / 1.17 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/1.237, allocations: 496.8 kB / 1.171 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/1.237, allocations: 8.156 kB / 1.171 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/1.237, allocations: 16 kB / 1.171 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-05/1.237, allocations: 33.92 kB / 1.171 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006802/1.238, allocations: 387.7 kB / 1.171 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/1.24, allocations: 2.211 MB / 1.173 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/1.241, allocations: 278.6 kB / 1.174 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/1.241, allocations: 4 kB / 1.174 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.241, allocations: 34.75 kB / 1.174 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 2.635e-06/1.241, allocations: 0 / 1.174 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.001524/1.243, allocations: 0.5888 MB / 1.174 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.243, allocations: 55.41 kB / 1.174 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/1.243, allocations: 208 kB / 1.174 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/1.243, allocations: 33.7 kB / 1.174 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/1.243, allocations: 215.7 kB / 1.175 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/1.243, allocations: 63.09 kB / 1.175 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/1.243, allocations: 4 kB / 1.175 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.244, allocations: 330.8 kB / 1.175 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/1.244, allocations: 107.7 kB / 1.175 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/1.244, allocations: 174.4 kB / 1.175 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/1.244, allocations: 120.9 kB / 1.175 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.244, allocations: 0 / 1.175 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008189/1.245, allocations: 398.8 kB / 1.176 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003699/1.245, allocations: 0.8731 MB / 1.177 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.246, allocations: 4 kB / 1.177 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004984/1.246, allocations: 109.5 kB / 1.177 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/1.246, allocations: 55.91 kB / 1.177 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002615/1.249, allocations: 2.069 MB / 1.179 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/1.249, allocations: 39.92 kB / 1.179 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/1.249, allocations: 8 kB / 1.179 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/1.249, allocations: 4 kB / 1.179 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007434/1.25, allocations: 327.1 kB / 1.179 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/1.25, allocations: 0 / 1.179 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/1.25, allocations: 80.94 kB / 1.179 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/1.251, allocations: 61.16 kB / 1.179 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/1.253, allocations: 1.503 MB / 1.181 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002555/1.253, allocations: 36.52 kB / 1.181 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/1.253, allocations: 12 kB / 1.181 GB, free: 0.5312 MB / 0.7448 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.0003077/1.253, allocations: 255.1 kB / 1.181 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/1.253, allocations: 23.95 kB / 1.181 GB, free: 256 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/1.253, allocations: 30.19 kB / 1.181 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.253, allocations: 3.984 kB / 1.181 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.253, allocations: 3.984 kB / 1.181 GB, free: 212 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.253, allocations: 0 / 1.181 GB, free: 212 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/1.254, allocations: 386.5 kB / 1.182 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.254, allocations: 4 kB / 1.182 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/1.254, allocations: 35.97 kB / 1.182 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003863/1.254, allocations: 105.6 kB / 1.182 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/1.254, allocations: 4 kB / 1.182 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002946/1.257, allocations: 2.822 MB / 1.184 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.257, allocations: 7.969 kB / 1.184 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007956/1.258, allocations: 416.9 kB / 1.185 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/1.258, allocations: 120.8 kB / 1.185 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/1.258, allocations: 0 / 1.185 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/1.259, allocations: 15.98 kB / 1.185 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.498e-05/1.259, allocations: 15.94 kB / 1.185 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/1.259, allocations: 11.94 kB / 1.185 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001565/1.259, allocations: 160.5 kB / 1.185 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.754e-06/1.259, allocations: 0 / 1.185 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006338/1.259, allocations: 179.2 kB / 1.185 GB, free: 11.6 MB / 0.7605 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.0001391/1.26, allocations: 103.2 kB / 1.185 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00175/1.261, allocations: 0.6624 MB / 1.186 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.261, allocations: 0 / 1.186 GB, free: 10.8 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000734/1.262, allocations: 374.9 kB / 1.186 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/1.263, allocations: 48.19 kB / 1.186 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/1.264, allocations: 0.6913 MB / 1.187 GB, free: 9.641 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/1.264, allocations: 0.8152 MB / 1.188 GB, free: 8.801 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002242/1.264, allocations: 59.25 kB / 1.188 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/1.264, allocations: 19.44 kB / 1.188 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of SimCode: time 3.9e-07/1.264, allocations: 0 / 1.188 GB, free: 8.727 MB / 0.7605 GB Notification: Performance of Templates: time 0.008199/1.273, allocations: 3.977 MB / 1.192 GB, free: 4.805 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)