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.001845/0.001845, allocations: 104.9 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.002031/0.002031, 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.678/2.678, allocations: 437.1 MB / 0.7111 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.44 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3278, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.006791/0.3346, allocations: 4.336 MB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005031/0.3397, allocations: 2.813 MB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.3401, allocations: 11.94 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.3414, allocations: 374.3 kB / 1.025 GB, free: 3.102 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.3426, allocations: 430 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.344, allocations: 0.5146 MB / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.345, allocations: 0.7126 MB / 1.027 GB, free: 1.453 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006946/0.3457, allocations: 371.8 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.3462, allocations: 283 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.3468, allocations: 346.8 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.19e-05/0.3469, allocations: 40 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006514/0.3475, allocations: 347.2 kB / 1.028 GB, free: 88 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.3478, allocations: 199.5 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.3481, allocations: 262.6 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009116/0.349, allocations: 0.7476 MB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.349, allocations: 0 / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.349, allocations: 0 / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.349, allocations: 8 kB / 1.029 GB, free: 14.88 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.001673/0.3507, allocations: 0.8436 MB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3507, allocations: 8.922 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.3523, allocations: 219.9 kB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.3529, allocations: 363.1 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.3529, allocations: 37.36 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.761e-05/0.353, allocations: 40.36 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.3546, allocations: 0.8723 MB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.3546, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.3547, allocations: 20 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.3548, allocations: 64.95 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.3564, allocations: 0.7179 MB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004906/0.3613, allocations: 4.546 MB / 1.037 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.3631, allocations: 0.6533 MB / 1.038 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007064/0.3638, allocations: 313.5 kB / 1.038 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.3639, allocations: 8 kB / 1.038 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.3639, allocations: 42.5 kB / 1.038 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=38): time 2.725e-06/0.3639, allocations: 3.938 kB / 1.038 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39): time 0.002648/0.3666, allocations: 1.012 MB / 1.039 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.3667, allocations: 81.11 kB / 1.039 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.3671, allocations: 349.5 kB / 1.039 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.3671, allocations: 29.7 kB / 1.039 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.3674, allocations: 287.8 kB / 1.04 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/0.3675, allocations: 134.1 kB / 1.04 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.3677, allocations: 118 kB / 1.04 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3679, allocations: 358.7 kB / 1.04 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006931/0.3686, allocations: 290.9 kB / 1.041 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/0.3695, allocations: 0.496 MB / 1.041 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.3711, allocations: 0.8106 MB / 1.042 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3711, allocations: 4 kB / 1.042 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001812/0.3729, allocations: 0.8288 MB / 1.043 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3729, allocations: 8 kB / 1.043 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.3729, allocations: 4 kB / 1.043 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.373, allocations: 12 kB / 1.043 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008868/0.3739, allocations: 175.7 kB / 1.043 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.3739, allocations: 19.92 kB / 1.043 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.3745, allocations: 79.77 kB / 1.043 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/0.3745, allocations: 31.98 kB / 1.043 GB, free: 244 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008052/0.3754, allocations: 381 kB / 1.043 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007681/0.3761, allocations: 463.6 kB / 1.044 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001403/0.3775, allocations: 0.7198 MB / 1.044 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.502e-06/0.3776, allocations: 3.938 kB / 1.044 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001606/0.3792, allocations: 0.7204 MB / 1.045 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3792, allocations: 8 kB / 1.045 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.3792, allocations: 8.844 kB / 1.045 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3792, allocations: 12 kB / 1.045 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/0.38, allocations: 159.8 kB / 1.045 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.38, allocations: 19.92 kB / 1.045 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005096/0.3805, allocations: 67.78 kB / 1.045 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.3806, allocations: 24.05 kB / 1.045 GB, free: 13.46 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.0002514/0.3808, allocations: 228 kB / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.3809, allocations: 51.41 kB / 1.046 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.3826, allocations: 0.677 MB / 1.046 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3827, allocations: 8 kB / 1.046 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3827, allocations: 4 kB / 1.046 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.3827, allocations: 3.984 kB / 1.046 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.3853, allocations: 1.482 MB / 1.048 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3853, allocations: 4 kB / 1.048 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007841/0.3861, allocations: 147.9 kB / 1.048 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.3862, allocations: 11.94 kB / 1.048 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.3862, allocations: 15.94 kB / 1.048 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.3862, allocations: 4 kB / 1.048 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.3862, allocations: 3.984 kB / 1.048 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.3877, allocations: 0.815 MB / 1.049 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.3879, allocations: 168.4 kB / 1.049 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-05/0.388, allocations: 19.88 kB / 1.049 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000505/0.3885, allocations: 51.92 kB / 1.049 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3886, allocations: 35.95 kB / 1.049 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.3887, allocations: 12 kB / 1.049 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003896/0.3891, allocations: 267.1 kB / 1.049 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3891, allocations: 3.938 kB / 1.049 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009224/0.39, allocations: 200 kB / 1.05 GB, free: 9.133 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.0001578/0.3902, allocations: 119.1 kB / 1.05 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002375/0.3926, allocations: 1.069 MB / 1.051 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3926, allocations: 0 / 1.051 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.3932, allocations: 308.2 kB / 1.051 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.3941, allocations: 136.4 kB / 1.051 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.3962, allocations: 1.098 MB / 1.052 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.3968, allocations: 0.8755 MB / 1.053 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.397, allocations: 51.42 kB / 1.053 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.397, allocations: 0 / 1.053 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of Templates: time 0.01143/0.4085, allocations: 7.04 MB / 1.06 GB, free: 14.4 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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)