Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL_pf.S.1.|RL_pf.S.2.|varRL_y.S.1.|varRL_y.S.2.|varRC_y.S.1.|varRC_y.S.2.|varRL_P.S.1.|varRL_P.S.2.|E.S.1.|E.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 106.6 kB / 16.35 MB, free: 5.824 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.001531/0.001531, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 66.23 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.296, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.006509/0.3026, allocations: 4.336 MB / 0.9554 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004588/0.3072, allocations: 2.665 MB / 0.958 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.3076, allocations: 11.94 kB / 0.958 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.3089, allocations: 370.2 kB / 0.9583 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.31, allocations: 394.2 kB / 0.9587 GB, free: 264 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.3114, allocations: 0.5178 MB / 0.9592 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001003/0.3124, allocations: 0.7281 MB / 0.9599 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000696/0.3131, allocations: 367.5 kB / 0.9603 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/0.3136, allocations: 271.1 kB / 0.9605 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.3142, allocations: 350.7 kB / 0.9609 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.963e-05/0.3143, allocations: 40 kB / 0.9609 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/0.3148, allocations: 307.3 kB / 0.9612 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.315, allocations: 207.4 kB / 0.9614 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.3153, allocations: 266.6 kB / 0.9616 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008181/0.3162, allocations: 0.7359 MB / 0.9624 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3162, allocations: 0 / 0.9624 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3162, allocations: 0 / 0.9624 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.3162, allocations: 0 / 0.9624 GB, free: 12.49 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001495/0.3177, allocations: 0.8418 MB / 0.9632 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3178, allocations: 12.03 kB / 0.9632 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008843/0.3186, allocations: 144.1 kB / 0.9633 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/0.3192, allocations: 383 kB / 0.9637 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.3193, allocations: 33.38 kB / 0.9637 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/0.3194, allocations: 44.36 kB / 0.9638 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.3206, allocations: 0.8285 MB / 0.9646 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.3206, allocations: 7.938 kB / 0.9646 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.3207, allocations: 23.98 kB / 0.9646 GB, free: 10 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.467e-05/0.3208, allocations: 64.95 kB / 0.9647 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.3221, allocations: 0.6711 MB / 0.9653 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/0.3261, allocations: 4.473 MB / 0.9697 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.3273, allocations: 0.6074 MB / 0.9703 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.3279, allocations: 309.4 kB / 0.9706 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.3279, allocations: 11.98 kB / 0.9706 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.328, allocations: 42.42 kB / 0.9706 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=38): time 2.284e-06/0.328, allocations: 0 / 0.9706 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39): time 0.001935/0.3299, allocations: 0.9435 MB / 0.9716 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.33, allocations: 85.05 kB / 0.9716 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.3303, allocations: 349.5 kB / 0.972 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.3304, allocations: 37.7 kB / 0.972 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.3307, allocations: 275.9 kB / 0.9723 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.3308, allocations: 138 kB / 0.9724 GB, free: 1.59 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.331, allocations: 110.1 kB / 0.9725 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3311, allocations: 350.7 kB / 0.9728 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.3317, allocations: 286.8 kB / 0.9731 GB, free: 0.8398 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.3323, allocations: 476 kB / 0.9736 GB, free: 292 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.3336, allocations: 0.778 MB / 0.9743 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.3336, allocations: 8 kB / 0.9743 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001501/0.3352, allocations: 0.7893 MB / 0.9751 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.3352, allocations: 10.03 kB / 0.9751 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3352, allocations: 8 kB / 0.9751 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.3353, allocations: 8 kB / 0.9751 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000746/0.336, allocations: 171.7 kB / 0.9753 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/0.336, allocations: 11.94 kB / 0.9753 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.3366, allocations: 79.98 kB / 0.9754 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.3366, allocations: 27.98 kB / 0.9754 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000636/0.3373, allocations: 363 kB / 0.9758 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006271/0.3379, allocations: 439.7 kB / 0.9762 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001054/0.339, allocations: 0.6729 MB / 0.9768 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.888e-06/0.339, allocations: 11.94 kB / 0.9768 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001271/0.3403, allocations: 0.686 MB / 0.9775 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3403, allocations: 11.98 kB / 0.9775 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.3403, allocations: 12.06 kB / 0.9775 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3403, allocations: 8 kB / 0.9775 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.3409, allocations: 159.7 kB / 0.9777 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.3409, allocations: 8 kB / 0.9777 GB, free: 11.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.3414, allocations: 63.72 kB / 0.9778 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.3415, allocations: 35.88 kB / 0.9778 GB, free: 11.64 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0002391/0.3417, allocations: 220 kB / 0.978 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3419, allocations: 43.44 kB / 0.9781 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.3432, allocations: 0.6422 MB / 0.9787 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3432, allocations: 4 kB / 0.9787 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3432, allocations: 4 kB / 0.9787 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3432, allocations: 0 / 0.9787 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.3458, allocations: 1.457 MB / 0.9801 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3458, allocations: 0 / 0.9801 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/0.3465, allocations: 139.8 kB / 0.9802 GB, free: 9.047 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.3465, allocations: 7.984 kB / 0.9803 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.3466, allocations: 15.94 kB / 0.9803 GB, free: 9.023 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.3466, allocations: 8.156 kB / 0.9803 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3466, allocations: 8 kB / 0.9803 GB, free: 9.008 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.3478, allocations: 0.7955 MB / 0.9811 GB, free: 8.176 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.3481, allocations: 164.5 kB / 0.9812 GB, free: 7.996 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.767e-05/0.3482, allocations: 19.78 kB / 0.9812 GB, free: 7.977 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.3486, allocations: 55.92 kB / 0.9813 GB, free: 7.922 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3488, allocations: 31.95 kB / 0.9813 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/0.3488, allocations: 23.94 kB / 0.9813 GB, free: 7.867 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000274/0.3491, allocations: 251.2 kB / 0.9816 GB, free: 7.625 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3491, allocations: 0 / 0.9816 GB, free: 7.625 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008399/0.3499, allocations: 192 kB / 0.9818 GB, free: 7.438 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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.0001369/0.3501, allocations: 115.7 kB / 0.9819 GB, free: 7.316 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001844/0.3519, allocations: 0.9632 MB / 0.9828 GB, free: 6.355 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3519, allocations: 320 / 0.9828 GB, free: 6.355 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005376/0.3525, allocations: 307.5 kB / 0.9831 GB, free: 6.055 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007814/0.3533, allocations: 134 kB / 0.9832 GB, free: 5.934 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.3551, allocations: 1.034 MB / 0.9842 GB, free: 4.855 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.3556, allocations: 0.8794 MB / 0.9851 GB, free: 3.945 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005405/0.3562, allocations: 204.1 kB / 0.9853 GB, free: 3.742 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.3564, allocations: 39.42 kB / 0.9853 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of SimCode: time 6.61e-07/0.3564, allocations: 3.938 kB / 0.9853 GB, free: 3.699 MB / 0.7637 GB Notification: Performance of Templates: time 0.01206/0.3685, allocations: 6.691 MB / 0.9919 GB, free: 13.07 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)