Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001182/0.001182, allocations: 184.9 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.805/1.805, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008267/0.0008268, allocations: 94.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 9.188 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2454, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.4445, allocations: 159 MB / 1.055 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.4449, allocations: 91.94 kB / 1.056 GB, free: 0.582 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.576/1.021, allocations: 28.43 MB / 1.083 GB, free: 148.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.747e-06/1.021, allocations: 1.156 kB / 1.083 GB, free: 148.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.66e-05/1.021, allocations: 13.72 kB / 1.083 GB, free: 148.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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002189/1.023, allocations: 0.7545 MB / 1.084 GB, free: 148 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.023, allocations: 10.88 kB / 1.084 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/1.025, allocations: 180.4 kB / 1.084 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/1.025, allocations: 370.1 kB / 1.085 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.092e-05/1.026, allocations: 25.88 kB / 1.085 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/1.026, allocations: 46.98 kB / 1.085 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/1.027, allocations: 0.807 MB / 1.085 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/1.027, allocations: 7.844 kB / 1.085 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.237e-05/1.027, allocations: 19.58 kB / 1.085 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.83e-05/1.027, allocations: 55.88 kB / 1.085 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/1.028, allocations: 0.6592 MB / 1.086 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003705/1.032, allocations: 4.604 MB / 1.091 GB, free: 142.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009683/1.033, allocations: 0.502 MB / 1.091 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/1.033, allocations: 3.875 kB / 1.091 GB, free: 141.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/1.033, allocations: 42.41 kB / 1.091 GB, free: 141.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.805e-06/1.033, allocations: 0 / 1.091 GB, free: 141.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.001755/1.035, allocations: 0.8884 MB / 1.092 GB, free: 141.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.035, allocations: 85.06 kB / 1.092 GB, free: 141.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/1.035, allocations: 317.3 kB / 1.092 GB, free: 141.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/1.035, allocations: 33.7 kB / 1.092 GB, free: 141 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/1.036, allocations: 287 kB / 1.093 GB, free: 140.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.536e-05/1.036, allocations: 118.3 kB / 1.093 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/1.036, allocations: 16 kB / 1.093 GB, free: 140.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.036, allocations: 350.8 kB / 1.093 GB, free: 140.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/1.036, allocations: 257 kB / 1.093 GB, free: 140 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005347/1.037, allocations: 482.8 kB / 1.094 GB, free: 139.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/1.037, allocations: 327.6 kB / 1.094 GB, free: 139.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.037, allocations: 4 kB / 1.094 GB, free: 139.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001177/1.039, allocations: 0.7742 MB / 1.095 GB, free: 138.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000556/1.039, allocations: 2.789 MB / 1.098 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.039, allocations: 11.95 kB / 1.098 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.039, allocations: 12 kB / 1.098 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006453/1.04, allocations: 167.7 kB / 1.098 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/1.04, allocations: 15.98 kB / 1.098 GB, free: 135.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/1.04, allocations: 71.78 kB / 1.098 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/1.04, allocations: 27.98 kB / 1.098 GB, free: 135 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/1.04, allocations: 4 kB / 1.098 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008637/1.041, allocations: 0.605 MB / 1.099 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.041, allocations: 8.125 kB / 1.099 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/1.041, allocations: 16 kB / 1.099 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/1.042, allocations: 147.8 kB / 1.099 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.042, allocations: 15.94 kB / 1.099 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/1.042, allocations: 59.7 kB / 1.099 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/1.042, allocations: 24 kB / 1.099 GB, free: 134.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003208/1.043, allocations: 297.8 kB / 1.099 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.721e-05/1.043, allocations: 39.53 kB / 1.099 GB, free: 133.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/1.044, allocations: 0.5911 MB / 1.1 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/1.044, allocations: 4 kB / 1.1 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.044, allocations: 3.984 kB / 1.1 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.044, allocations: 0 / 1.1 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/1.046, allocations: 1.625 MB / 1.101 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.046, allocations: 8 kB / 1.101 GB, free: 131.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/1.046, allocations: 111.8 kB / 1.101 GB, free: 131.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/1.046, allocations: 11.95 kB / 1.101 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/1.046, allocations: 8 kB / 1.101 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/1.047, allocations: 11.94 kB / 1.101 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.047, allocations: 4.281 kB / 1.101 GB, free: 131.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009592/1.047, allocations: 0.983 MB / 1.102 GB, free: 130.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/1.048, allocations: 168.4 kB / 1.103 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/1.048, allocations: 11.98 kB / 1.103 GB, free: 130 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/1.048, allocations: 47.94 kB / 1.103 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.048, allocations: 39.86 kB / 1.103 GB, free: 129.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/1.048, allocations: 16 kB / 1.103 GB, free: 129.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002205/1.049, allocations: 247.2 kB / 1.103 GB, free: 129.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.049, allocations: 0 / 1.103 GB, free: 129.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008897/1.049, allocations: 212 kB / 1.103 GB, free: 129.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001627/1.05, allocations: 127.1 kB / 1.103 GB, free: 129.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.051, allocations: 0.9314 MB / 1.104 GB, free: 128.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.051, allocations: 0 / 1.104 GB, free: 128.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003962/1.051, allocations: 280.9 kB / 1.104 GB, free: 128.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/1.052, allocations: 101.3 kB / 1.105 GB, free: 128 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/1.053, allocations: 1.213 MB / 1.106 GB, free: 126.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/1.054, allocations: 0.8865 MB / 1.107 GB, free: 125.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005551/1.054, allocations: 200 kB / 1.107 GB, free: 125.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/1.055, allocations: 39.42 kB / 1.107 GB, free: 125.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.22e-07/1.055, allocations: 0 / 1.107 GB, free: 125.6 MB / 0.698 GB Notification: Performance of Templates: time 0.00865/1.063, allocations: 5.546 MB / 1.112 GB, free: 120.1 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)