Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001308/0.001308, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.001305/0.001306, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.58/1.58, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.702/2.702, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 71.19 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3205, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.008097/0.3287, allocations: 4.328 MB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005576/0.3343, allocations: 2.821 MB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003464/0.3347, allocations: 11.94 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.336, allocations: 374.7 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.3371, allocations: 426.1 kB / 1.026 GB, free: 2.605 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.3384, allocations: 0.5134 MB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.3395, allocations: 0.7165 MB / 1.027 GB, free: 1.375 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006577/0.3402, allocations: 359.8 kB / 1.027 GB, free: 1.016 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.3407, allocations: 291 kB / 1.028 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005749/0.3413, allocations: 338.8 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.403e-05/0.3414, allocations: 40 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007047/0.3421, allocations: 351.2 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002466/0.3423, allocations: 203.5 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.3427, allocations: 262.6 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009865/0.3437, allocations: 0.7437 MB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3437, allocations: 0 / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3437, allocations: 4 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.3437, allocations: 0 / 1.029 GB, free: 14.81 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00167/0.3454, allocations: 0.8496 MB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3454, allocations: 8.922 kB / 1.03 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.3471, allocations: 219.9 kB / 1.03 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006108/0.3477, allocations: 363.1 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.3478, allocations: 33.36 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.701e-05/0.3479, allocations: 44.38 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.3495, allocations: 0.8606 MB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.3496, allocations: 7.938 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.407e-05/0.3497, allocations: 23.97 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.3498, allocations: 64.95 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.3516, allocations: 0.7179 MB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005121/0.3567, allocations: 4.539 MB / 1.037 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.3588, allocations: 0.6557 MB / 1.038 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.3596, allocations: 325.4 kB / 1.038 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.3596, allocations: 15.92 kB / 1.038 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3596, allocations: 38.56 kB / 1.038 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=38): time 2.194e-06/0.3597, allocations: 0 / 1.038 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39): time 0.002791/0.3624, allocations: 1.008 MB / 1.039 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.3625, allocations: 85.11 kB / 1.039 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.3629, allocations: 345.5 kB / 1.039 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.363, allocations: 37.7 kB / 1.039 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.3632, allocations: 283.8 kB / 1.04 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.3634, allocations: 130.1 kB / 1.04 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/0.3636, allocations: 114 kB / 1.04 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3638, allocations: 358.7 kB / 1.04 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007507/0.3645, allocations: 294.9 kB / 1.041 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009176/0.3655, allocations: 0.4922 MB / 1.041 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.3672, allocations: 0.8145 MB / 1.042 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.3672, allocations: 4 kB / 1.042 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00199/0.3692, allocations: 0.8249 MB / 1.043 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.3692, allocations: 10.66 kB / 1.043 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3692, allocations: 8 kB / 1.043 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.3693, allocations: 12 kB / 1.043 GB, free: 476 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008971/0.3702, allocations: 175.7 kB / 1.043 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/0.3702, allocations: 19.92 kB / 1.043 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.3708, allocations: 79.83 kB / 1.043 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.3709, allocations: 27.98 kB / 1.043 GB, free: 172 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00085/0.3717, allocations: 386.1 kB / 1.043 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000917/0.3727, allocations: 463.6 kB / 1.044 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001565/0.3742, allocations: 0.7275 MB / 1.044 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.162e-06/0.3743, allocations: 3.938 kB / 1.044 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001939/0.3762, allocations: 0.7164 MB / 1.045 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3762, allocations: 8 kB / 1.045 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3763, allocations: 8.875 kB / 1.045 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.3763, allocations: 12 kB / 1.045 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000764/0.3771, allocations: 163.7 kB / 1.045 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.3771, allocations: 19.92 kB / 1.045 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005422/0.3776, allocations: 63.78 kB / 1.045 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.423e-05/0.3777, allocations: 28 kB / 1.045 GB, free: 13.38 MB / 0.8262 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.0002554/0.378, allocations: 220 kB / 1.046 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.3781, allocations: 47.44 kB / 1.046 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.3798, allocations: 0.6848 MB / 1.046 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3799, allocations: 8 kB / 1.046 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3799, allocations: 3.938 kB / 1.046 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.3799, allocations: 7.984 kB / 1.046 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.3826, allocations: 1.478 MB / 1.048 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3826, allocations: 3.938 kB / 1.048 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008016/0.3834, allocations: 152 kB / 1.048 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3834, allocations: 0 / 1.048 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.3835, allocations: 15.94 kB / 1.048 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3835, allocations: 4 kB / 1.048 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3835, allocations: 4 kB / 1.048 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.385, allocations: 0.815 MB / 1.049 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.3852, allocations: 168.4 kB / 1.049 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/0.3853, allocations: 19.88 kB / 1.049 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/0.3859, allocations: 55.92 kB / 1.049 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.386, allocations: 39.89 kB / 1.049 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.3861, allocations: 12 kB / 1.049 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003941/0.3865, allocations: 271.1 kB / 1.049 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3865, allocations: 0 / 1.049 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009666/0.3874, allocations: 200 kB / 1.05 GB, free: 9.059 MB / 0.8262 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.0001717/0.3876, allocations: 111.2 kB / 1.05 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002521/0.3901, allocations: 1.073 MB / 1.051 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3902, allocations: 0 / 1.051 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000685/0.3909, allocations: 312.3 kB / 1.051 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/0.3917, allocations: 123.6 kB / 1.051 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.394, allocations: 1.11 MB / 1.052 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.3947, allocations: 0.8755 MB / 1.053 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.3949, allocations: 47.42 kB / 1.053 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.3949, allocations: 3.938 kB / 1.053 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of Templates: time 0.01183/0.4068, allocations: 7.041 MB / 1.06 GB, free: 14.33 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)