Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001452/0.001453, allocations: 105 kB / 15.98 MB, free: 6.355 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.001476/0.001476, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.545/2.545, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 64.81 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3016, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.00605/0.3077, allocations: 4.368 MB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00514/0.3128, allocations: 2.805 MB / 1.071 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.3133, allocations: 7.938 kB / 1.071 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.3147, allocations: 342.7 kB / 1.071 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.316, allocations: 390.5 kB / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.3177, allocations: 485.8 kB / 1.072 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001203/0.3189, allocations: 0.7204 MB / 1.073 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000919/0.3198, allocations: 407.5 kB / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005058/0.3203, allocations: 279 kB / 1.074 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007145/0.3211, allocations: 366.7 kB / 1.074 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.3212, allocations: 40 kB / 1.074 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.3218, allocations: 347.2 kB / 1.074 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.322, allocations: 207.5 kB / 1.075 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002604/0.3223, allocations: 266.5 kB / 1.075 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006552/0.3229, allocations: 0.5732 MB / 1.075 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.323, allocations: 0 / 1.075 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.323, allocations: 0 / 1.075 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.323, allocations: 0 / 1.075 GB, free: 3.512 MB / 0.8419 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.001525/0.3245, allocations: 0.8457 MB / 1.076 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3246, allocations: 8.031 kB / 1.076 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.326, allocations: 227.9 kB / 1.076 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.3265, allocations: 359.1 kB / 1.077 GB, free: 2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.3266, allocations: 33.36 kB / 1.077 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-05/0.3267, allocations: 44.36 kB / 1.077 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.3281, allocations: 0.8636 MB / 1.078 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.3282, allocations: 11.84 kB / 1.078 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.3282, allocations: 23.98 kB / 1.078 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-05/0.3283, allocations: 60.95 kB / 1.078 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.3299, allocations: 0.714 MB / 1.079 GB, free: 164 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4551/0.785, allocations: 4.52 MB / 1.083 GB, free: 18.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.7867, allocations: 0.6631 MB / 1.084 GB, free: 18.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/0.7873, allocations: 320.6 kB / 1.084 GB, free: 18.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.7874, allocations: 8.844 kB / 1.084 GB, free: 18.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.7874, allocations: 41.06 kB / 1.084 GB, free: 18.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=38): time 2.575e-06/0.7874, allocations: 1.219 kB / 1.084 GB, free: 18.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39): time 0.002301/0.7897, allocations: 1.013 MB / 1.085 GB, free: 18.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.7898, allocations: 83.83 kB / 1.085 GB, free: 18.01 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/0.7901, allocations: 350.2 kB / 1.085 GB, free: 17.83 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.7902, allocations: 35.61 kB / 1.085 GB, free: 17.79 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.7903, allocations: 281.1 kB / 1.086 GB, free: 17.56 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/0.7904, allocations: 140.6 kB / 1.086 GB, free: 17.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.7906, allocations: 121.7 kB / 1.086 GB, free: 17.39 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/0.7907, allocations: 348.6 kB / 1.086 GB, free: 17.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/0.7913, allocations: 296.1 kB / 1.086 GB, free: 16.97 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/0.792, allocations: 494.6 kB / 1.087 GB, free: 16.63 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.7934, allocations: 0.8143 MB / 1.088 GB, free: 16.14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.7934, allocations: 6.656 kB / 1.088 GB, free: 16.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001637/0.795, allocations: 0.8393 MB / 1.089 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.7951, allocations: 7.938 kB / 1.089 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.7951, allocations: 6.969 kB / 1.089 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.7951, allocations: 10.34 kB / 1.089 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/0.7959, allocations: 175.2 kB / 1.089 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.796, allocations: 15.16 kB / 1.089 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.7965, allocations: 79.27 kB / 1.089 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-05/0.7966, allocations: 28.91 kB / 1.089 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006976/0.7973, allocations: 386.7 kB / 1.089 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006602/0.798, allocations: 459.8 kB / 1.09 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001257/0.7992, allocations: 0.7182 MB / 1.09 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.748e-06/0.7992, allocations: 3.016 kB / 1.09 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001511/0.8008, allocations: 0.7244 MB / 1.091 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.8008, allocations: 12.28 kB / 1.091 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.8008, allocations: 8.688 kB / 1.091 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.8008, allocations: 13.84 kB / 1.091 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007146/0.8015, allocations: 159.5 kB / 1.091 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.8016, allocations: 16.47 kB / 1.091 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.8021, allocations: 70.33 kB / 1.091 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.466e-05/0.8021, allocations: 31.78 kB / 1.091 GB, free: 14.47 MB / 0.8419 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.000177/0.8023, allocations: 218.9 kB / 1.092 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.8024, allocations: 44.28 kB / 1.092 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.8041, allocations: 0.6982 MB / 1.092 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.8041, allocations: 4.594 kB / 1.092 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.8041, allocations: 5.188 kB / 1.092 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.8042, allocations: 2.578 kB / 1.092 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.8068, allocations: 1.469 MB / 1.094 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8068, allocations: 2.312 kB / 1.094 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/0.8076, allocations: 150.3 kB / 1.094 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.8076, allocations: 3.625 kB / 1.094 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.8076, allocations: 16.45 kB / 1.094 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.8076, allocations: 4.344 kB / 1.094 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.8076, allocations: 2.531 kB / 1.094 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.8089, allocations: 0.8172 MB / 1.095 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.8091, allocations: 173.5 kB / 1.095 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.8092, allocations: 9.422 kB / 1.095 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.8097, allocations: 54.8 kB / 1.095 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.8098, allocations: 40.02 kB / 1.095 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.8099, allocations: 14.83 kB / 1.095 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003706/0.8102, allocations: 263.3 kB / 1.095 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8103, allocations: 1.281 kB / 1.095 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008863/0.8112, allocations: 201.5 kB / 1.095 GB, free: 12.44 MB / 0.8419 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.0001324/0.8113, allocations: 116.5 kB / 1.096 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002406/0.8137, allocations: 1.077 MB / 1.097 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8137, allocations: 0 / 1.097 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006485/0.8144, allocations: 309.6 kB / 1.097 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008061/0.8152, allocations: 126.1 kB / 1.097 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.8171, allocations: 1.315 MB / 1.098 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.8175, allocations: 0.8808 MB / 1.099 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.8178, allocations: 45 kB / 1.099 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of SimCode: time 7.31e-07/0.8178, allocations: 0 / 1.099 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of Templates: time 0.01251/0.8303, allocations: 7.055 MB / 1.106 GB, free: 9.844 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)