Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009205/0.0009204, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 184.7 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.707/2.707, allocations: 437.8 MB / 0.7128 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000515/0.000515, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.8341, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.00563/0.8398, allocations: 3.864 MB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004903/0.8448, allocations: 2.775 MB / 1.03 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003822/0.8452, allocations: 7.938 kB / 1.03 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.8456, allocations: 67.42 kB / 1.03 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.8468, allocations: 382.5 kB / 1.031 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.8482, allocations: 483 kB / 1.031 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00128/0.8495, allocations: 0.9817 MB / 1.032 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.8506, allocations: 0.5394 MB / 1.033 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004917/0.8511, allocations: 223 kB / 1.033 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007131/0.8519, allocations: 330.8 kB / 1.033 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.852, allocations: 20 kB / 1.033 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000789/0.8528, allocations: 419.1 kB / 1.034 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.853, allocations: 175.5 kB / 1.034 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.8534, allocations: 248.4 kB / 1.034 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.8541, allocations: 0.5474 MB / 1.034 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.8541, allocations: 3.984 kB / 1.034 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8542, allocations: 0 / 1.034 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.546e-05/0.8542, allocations: 0 / 1.034 GB, free: 4.766 MB / 0.7794 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.001523/0.8557, allocations: 0.729 MB / 1.035 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.8558, allocations: 8.031 kB / 1.035 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.8572, allocations: 192 kB / 1.035 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.8578, allocations: 351.2 kB / 1.036 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.8578, allocations: 41.3 kB / 1.036 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.8579, allocations: 36.38 kB / 1.036 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.8594, allocations: 0.8527 MB / 1.037 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.8594, allocations: 11.83 kB / 1.037 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.8595, allocations: 23.98 kB / 1.037 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.887e-05/0.8596, allocations: 64.61 kB / 1.037 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.8611, allocations: 0.697 MB / 1.037 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004556/0.8656, allocations: 4.666 MB / 1.042 GB, free: 12.57 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.8668, allocations: 0.513 MB / 1.042 GB, free: 12.04 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.8673, allocations: 293.5 kB / 1.043 GB, free: 11.75 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.8674, allocations: 7.984 kB / 1.043 GB, free: 11.74 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.8674, allocations: 38.5 kB / 1.043 GB, free: 11.69 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.933e-06/0.8674, allocations: 8 kB / 1.043 GB, free: 11.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.002034/0.8695, allocations: 0.9125 MB / 1.044 GB, free: 10.76 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.8696, allocations: 85.11 kB / 1.044 GB, free: 10.66 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.87, allocations: 365.5 kB / 1.044 GB, free: 10.3 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.8701, allocations: 33.64 kB / 1.044 GB, free: 10.26 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.8703, allocations: 287 kB / 1.044 GB, free: 9.973 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.8704, allocations: 122.3 kB / 1.045 GB, free: 9.852 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.8705, allocations: 45.7 kB / 1.045 GB, free: 9.801 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8706, allocations: 354.7 kB / 1.045 GB, free: 9.445 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005711/0.8712, allocations: 276.9 kB / 1.045 GB, free: 9.176 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007198/0.8719, allocations: 494.5 kB / 1.046 GB, free: 8.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.8733, allocations: 0.7928 MB / 1.046 GB, free: 7.699 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.8733, allocations: 4 kB / 1.046 GB, free: 7.695 MB / 0.795 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001622/0.8749, allocations: 0.8054 MB / 1.047 GB, free: 6.883 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002387/0.8752, allocations: 299.7 kB / 1.047 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.8752, allocations: 11.98 kB / 1.047 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.8752, allocations: 15.94 kB / 1.048 GB, free: 6.461 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/0.876, allocations: 167.7 kB / 1.048 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/0.876, allocations: 19.88 kB / 1.048 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006132/0.8766, allocations: 79.7 kB / 1.048 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.8767, allocations: 31.98 kB / 1.048 GB, free: 6.168 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.8767, allocations: 4 kB / 1.048 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001302/0.878, allocations: 0.6319 MB / 1.048 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.8781, allocations: 8 kB / 1.048 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.8781, allocations: 12.84 kB / 1.048 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.8787, allocations: 159.7 kB / 1.049 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.8787, allocations: 15.94 kB / 1.049 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.8792, allocations: 63.7 kB / 1.049 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.8792, allocations: 27.98 kB / 1.049 GB, free: 5.25 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003147/0.8795, allocations: 288.8 kB / 1.049 GB, free: 4.957 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.8797, allocations: 39.53 kB / 1.049 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.8809, allocations: 0.6001 MB / 1.05 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.8809, allocations: 4 kB / 1.05 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.8809, allocations: 0 / 1.05 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.881, allocations: 0 / 1.05 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.8837, allocations: 1.642 MB / 1.051 GB, free: 2.562 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.8837, allocations: 4 kB / 1.051 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.8843, allocations: 115.8 kB / 1.051 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.8843, allocations: 8 kB / 1.051 GB, free: 2.438 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.8843, allocations: 12.45 kB / 1.051 GB, free: 2.426 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.8844, allocations: 11.94 kB / 1.051 GB, free: 2.414 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.8844, allocations: 7.938 kB / 1.051 GB, free: 2.406 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.8855, allocations: 0.8073 MB / 1.052 GB, free: 1.535 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.8858, allocations: 172.5 kB / 1.052 GB, free: 1.348 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/0.8859, allocations: 12 kB / 1.052 GB, free: 1.336 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.8864, allocations: 51.94 kB / 1.052 GB, free: 1.285 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.8865, allocations: 39.83 kB / 1.052 GB, free: 1.246 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.8866, allocations: 16 kB / 1.052 GB, free: 1.23 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003877/0.887, allocations: 267.1 kB / 1.053 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.81e-07/0.887, allocations: 0 / 1.053 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009876/0.888, allocations: 196 kB / 1.053 GB, free: 0.7852 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/0.8881, allocations: 111.2 kB / 1.053 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002038/0.8902, allocations: 0.9528 MB / 1.054 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8902, allocations: 0 / 1.054 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.8907, allocations: 280.7 kB / 1.054 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.8918, allocations: 116.8 kB / 1.054 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.8938, allocations: 1.277 MB / 1.056 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.8943, allocations: 0.8748 MB / 1.056 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.8945, allocations: 47.42 kB / 1.056 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of SimCode: time 6.81e-07/0.8946, allocations: 0 / 1.056 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of Templates: time 0.01183/0.9064, allocations: 6.558 MB / 1.063 GB, free: 6.477 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)