Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001344/0.001343, allocations: 109.5 kB / 16.27 MB, free: 6.004 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.001272/0.001271, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.205/2.205, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 63.31 kB / 0.8132 GB, free: 32.93 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2877, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.0079/0.2957, allocations: 4.203 MB / 0.9544 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005851/0.3016, allocations: 2.809 MB / 0.9571 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/0.302, allocations: 7.938 kB / 0.9571 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.3034, allocations: 370 kB / 0.9575 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.3047, allocations: 418.2 kB / 0.9579 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.3061, allocations: 0.5107 MB / 0.9584 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3071, allocations: 0.7046 MB / 0.9591 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006298/0.3077, allocations: 347.3 kB / 0.9594 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004869/0.3082, allocations: 263.1 kB / 0.9597 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/0.3089, allocations: 334.8 kB / 0.96 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.309, allocations: 36 kB / 0.96 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006599/0.3097, allocations: 339.3 kB / 0.9603 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002604/0.31, allocations: 191.5 kB / 0.9605 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.3103, allocations: 254.6 kB / 0.9608 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.3113, allocations: 0.7359 MB / 0.9615 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3113, allocations: 8 kB / 0.9615 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3114, allocations: 0 / 0.9615 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.349e-05/0.3114, allocations: 0 / 0.9615 GB, free: 13.32 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001682/0.3131, allocations: 0.799 MB / 0.9623 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3131, allocations: 12.03 kB / 0.9623 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.3146, allocations: 200 kB / 0.9625 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/0.3152, allocations: 363 kB / 0.9628 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.3153, allocations: 29.38 kB / 0.9628 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.3154, allocations: 44.36 kB / 0.9629 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.3169, allocations: 0.8488 MB / 0.9637 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.3169, allocations: 11.92 kB / 0.9637 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.609e-05/0.317, allocations: 23.97 kB / 0.9637 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.449e-05/0.3171, allocations: 60.62 kB / 0.9638 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.3185, allocations: 0.6658 MB / 0.9645 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004661/0.3232, allocations: 4.658 MB / 0.969 GB, free: 5.074 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.3244, allocations: 0.5009 MB / 0.9695 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005503/0.325, allocations: 293.4 kB / 0.9698 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.3251, allocations: 4 kB / 0.9698 GB, free: 4.258 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3251, allocations: 38.5 kB / 0.9698 GB, free: 4.211 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 2.986e-06/0.3251, allocations: 0 / 0.9698 GB, free: 4.211 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.002085/0.3272, allocations: 0.8855 MB / 0.9707 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.3272, allocations: 81.3 kB / 0.9708 GB, free: 3.219 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.3277, allocations: 373.5 kB / 0.9711 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.3278, allocations: 33.7 kB / 0.9711 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.328, allocations: 294.9 kB / 0.9714 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.3281, allocations: 122.3 kB / 0.9715 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.3283, allocations: 110.1 kB / 0.9716 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3284, allocations: 350.7 kB / 0.972 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005824/0.329, allocations: 274.9 kB / 0.9722 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/0.3298, allocations: 482.5 kB / 0.9727 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.331, allocations: 0.7644 MB / 0.9734 GB, free: 232 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3311, allocations: 4 kB / 0.9735 GB, free: 228 kB / 0.7481 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00164/0.3327, allocations: 0.7947 MB / 0.9742 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3327, allocations: 8 kB / 0.9742 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.3328, allocations: 8 kB / 0.9742 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.3328, allocations: 8 kB / 0.9743 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007657/0.3336, allocations: 163.7 kB / 0.9744 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.3336, allocations: 11.94 kB / 0.9744 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.3342, allocations: 83.88 kB / 0.9745 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/0.3343, allocations: 28 kB / 0.9745 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006792/0.335, allocations: 359 kB / 0.9749 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000644/0.3356, allocations: 453.4 kB / 0.9753 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/0.3367, allocations: 0.6754 MB / 0.976 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.041e-06/0.3367, allocations: 4 kB / 0.976 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001397/0.3381, allocations: 0.6908 MB / 0.9766 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3382, allocations: 11.98 kB / 0.9766 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3382, allocations: 8 kB / 0.9767 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3382, allocations: 15.94 kB / 0.9767 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006048/0.3388, allocations: 147.8 kB / 0.9768 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.3388, allocations: 15.94 kB / 0.9768 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.3394, allocations: 63.88 kB / 0.9769 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.3394, allocations: 28 kB / 0.9769 GB, free: 12.43 MB / 0.7637 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.0002143/0.3396, allocations: 216 kB / 0.9771 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.3398, allocations: 51.36 kB / 0.9772 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.341, allocations: 0.5834 MB / 0.9777 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.341, allocations: 4 kB / 0.9777 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.341, allocations: 0 / 0.9777 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3411, allocations: 7.984 kB / 0.9778 GB, free: 11.56 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.3436, allocations: 1.603 MB / 0.9793 GB, free: 9.859 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.3436, allocations: 8 kB / 0.9793 GB, free: 9.852 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.3442, allocations: 111.8 kB / 0.9794 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.3442, allocations: 4 kB / 0.9794 GB, free: 9.738 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.3443, allocations: 16 kB / 0.9794 GB, free: 9.723 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.3443, allocations: 8.406 kB / 0.9795 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3443, allocations: 8 kB / 0.9795 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.3454, allocations: 0.7834 MB / 0.9802 GB, free: 8.863 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.3457, allocations: 168.5 kB / 0.9804 GB, free: 8.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.246e-05/0.3458, allocations: 12 kB / 0.9804 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/0.3463, allocations: 47.92 kB / 0.9804 GB, free: 8.621 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.406e-05/0.3464, allocations: 39.84 kB / 0.9805 GB, free: 8.582 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.3464, allocations: 12 kB / 0.9805 GB, free: 8.57 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003779/0.3468, allocations: 271.1 kB / 0.9808 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3468, allocations: 0 / 0.9808 GB, free: 8.309 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009389/0.3477, allocations: 188 kB / 0.9809 GB, free: 8.125 MB / 0.7637 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.0001511/0.3479, allocations: 127.1 kB / 0.9811 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001996/0.3499, allocations: 0.9555 MB / 0.982 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3499, allocations: 0 / 0.982 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.3504, allocations: 264.8 kB / 0.9822 GB, free: 6.781 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008418/0.3513, allocations: 130.3 kB / 0.9824 GB, free: 6.664 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.353, allocations: 1.055 MB / 0.9834 GB, free: 5.527 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.3535, allocations: 0.8747 MB / 0.9843 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.3537, allocations: 43.42 kB / 0.9843 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of SimCode: time 8.82e-07/0.3538, allocations: 0 / 0.9843 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of Templates: time 0.01063/0.3644, allocations: 6.626 MB / 0.9908 GB, free: 13.98 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)