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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001854/0.001854, allocations: 104.7 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 196.1 kB / 16.91 MB, free: 6.184 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.657/2.657, allocations: 437.1 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.81 kB / 0.8694 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3026, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006782/0.3094, allocations: 4.253 MB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00517/0.3147, allocations: 2.767 MB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004532/0.3152, allocations: 7.938 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.3167, allocations: 355.8 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.318, allocations: 378.6 kB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.3195, allocations: 482.5 kB / 1.026 GB, free: 2.727 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.3207, allocations: 0.697 MB / 1.026 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008431/0.3216, allocations: 391 kB / 1.027 GB, free: 1.641 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005968/0.3222, allocations: 267 kB / 1.027 GB, free: 1.379 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006972/0.3229, allocations: 354.8 kB / 1.027 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.323, allocations: 40 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007404/0.3238, allocations: 343.2 kB / 1.028 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.3241, allocations: 199.5 kB / 1.028 GB, free: 472 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.3245, allocations: 246.7 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009047/0.3254, allocations: 0.5615 MB / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3254, allocations: 0 / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3254, allocations: 0 / 1.028 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.3255, allocations: 4 kB / 1.029 GB, free: 15.65 MB / 0.8106 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.001726/0.3272, allocations: 0.8068 MB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3273, allocations: 12.92 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.3287, allocations: 196 kB / 1.029 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.3293, allocations: 363.1 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.3293, allocations: 29.36 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.93e-05/0.3294, allocations: 40.38 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.331, allocations: 0.8454 MB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.331, allocations: 4 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.3311, allocations: 15.98 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.3312, allocations: 68.55 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.3327, allocations: 0.6658 MB / 1.031 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/0.3376, allocations: 4.67 MB / 1.036 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.3389, allocations: 0.5031 MB / 1.037 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/0.3394, allocations: 282.1 kB / 1.037 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.3395, allocations: 3.984 kB / 1.037 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.3395, allocations: 46.48 kB / 1.037 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 4.919e-06/0.3395, allocations: 3.984 kB / 1.037 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.002105/0.3416, allocations: 0.8812 MB / 1.038 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/0.3417, allocations: 85.09 kB / 1.038 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.3422, allocations: 373.4 kB / 1.038 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.3423, allocations: 37.7 kB / 1.038 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.3425, allocations: 287 kB / 1.038 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.3426, allocations: 122.3 kB / 1.039 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.3429, allocations: 114.1 kB / 1.039 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.343, allocations: 350.7 kB / 1.039 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.3436, allocations: 274.9 kB / 1.039 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007866/0.3444, allocations: 486.5 kB / 1.04 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.3458, allocations: 0.766 MB / 1.04 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3458, allocations: 4 kB / 1.04 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001638/0.3475, allocations: 0.7897 MB / 1.041 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.3475, allocations: 8.125 kB / 1.041 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.3475, allocations: 12 kB / 1.041 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-05/0.3476, allocations: 8 kB / 1.041 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/0.3484, allocations: 171.7 kB / 1.041 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.3484, allocations: 8 kB / 1.041 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006316/0.349, allocations: 71.77 kB / 1.042 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.3491, allocations: 35.98 kB / 1.042 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006983/0.3498, allocations: 361 kB / 1.042 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007039/0.3505, allocations: 445.4 kB / 1.042 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001188/0.3517, allocations: 0.6887 MB / 1.043 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.011e-06/0.3517, allocations: 4 kB / 1.043 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00149/0.3532, allocations: 0.683 MB / 1.044 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3533, allocations: 8.125 kB / 1.044 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3533, allocations: 12 kB / 1.044 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3533, allocations: 12 kB / 1.044 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006287/0.3539, allocations: 159.7 kB / 1.044 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.3539, allocations: 15.94 kB / 1.044 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.3545, allocations: 63.69 kB / 1.044 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.3545, allocations: 32 kB / 1.044 GB, free: 14.76 MB / 0.8262 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.0002455/0.3548, allocations: 216 kB / 1.044 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3549, allocations: 39.53 kB / 1.044 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/0.3561, allocations: 0.5755 MB / 1.045 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.3561, allocations: 4 kB / 1.045 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3562, allocations: 0 / 1.045 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.3562, allocations: 7.984 kB / 1.045 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/0.359, allocations: 1.609 MB / 1.046 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.359, allocations: 4 kB / 1.046 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.3596, allocations: 119.8 kB / 1.046 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.3596, allocations: 4 kB / 1.046 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.3596, allocations: 12 kB / 1.046 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.3596, allocations: 7.984 kB / 1.046 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.3596, allocations: 7.938 kB / 1.046 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.3609, allocations: 0.7841 MB / 1.047 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/0.3611, allocations: 172.5 kB / 1.047 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/0.3612, allocations: 16 kB / 1.047 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.3617, allocations: 51.92 kB / 1.047 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.3618, allocations: 35.84 kB / 1.048 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.3618, allocations: 12 kB / 1.048 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003861/0.3622, allocations: 275.1 kB / 1.048 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3622, allocations: 0 / 1.048 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008921/0.3631, allocations: 188 kB / 1.048 GB, free: 10.45 MB / 0.8262 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.0001862/0.3633, allocations: 116.5 kB / 1.048 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001945/0.3653, allocations: 0.9674 MB / 1.049 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3653, allocations: 0 / 1.049 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.3658, allocations: 265.3 kB / 1.049 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008735/0.3667, allocations: 123.2 kB / 1.049 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3686, allocations: 1.262 MB / 1.051 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.3691, allocations: 0.8709 MB / 1.051 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/0.3694, allocations: 47.42 kB / 1.052 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of SimCode: time 2.655e-06/0.3694, allocations: 0 / 1.052 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.01095/0.3803, allocations: 6.612 MB / 1.058 GB, free: 112 kB / 0.8262 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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)