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.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.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.00123/0.00123, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.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.405/2.405, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8343/0.8346, allocations: 142.4 MB / 0.9557 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.00412/0.8388, allocations: 3.858 MB / 0.9595 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004222/0.8431, allocations: 2.771 MB / 0.9622 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/0.8435, allocations: 13.44 kB / 0.9622 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.8437, allocations: 71.67 kB / 0.9623 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009639/0.8447, allocations: 386.2 kB / 0.9626 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.8458, allocations: 477.8 kB / 0.9631 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.847, allocations: 0.991 MB / 0.9641 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009562/0.8479, allocations: 0.5399 MB / 0.9646 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004312/0.8484, allocations: 227 kB / 0.9648 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005492/0.8489, allocations: 321.7 kB / 0.9651 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.849, allocations: 18.53 kB / 0.9651 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007586/0.8498, allocations: 415.8 kB / 0.9655 GB, free: 424 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.85, allocations: 171.6 kB / 0.9657 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.8502, allocations: 257.8 kB / 0.9659 GB, free: 132 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.851, allocations: 0.5504 MB / 0.9665 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.851, allocations: 0 / 0.9665 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.484e-06/0.851, allocations: 1.031 kB / 0.9665 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.851, allocations: 0 / 0.9665 GB, free: 15.77 MB / 0.7325 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.001383/0.8524, allocations: 0.7343 MB / 0.9672 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.8525, allocations: 9.875 kB / 0.9672 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.8539, allocations: 188.9 kB / 0.9674 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/0.8544, allocations: 356.6 kB / 0.9677 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.8545, allocations: 37.3 kB / 0.9678 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.391e-05/0.8546, allocations: 39.28 kB / 0.9678 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.856, allocations: 0.8461 MB / 0.9686 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.8561, allocations: 10.81 kB / 0.9686 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.233e-05/0.8561, allocations: 22.7 kB / 0.9687 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.8562, allocations: 68.48 kB / 0.9687 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.8577, allocations: 0.6798 MB / 0.9694 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004506/0.8622, allocations: 4.679 MB / 0.974 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.8635, allocations: 0.5139 MB / 0.9745 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005793/0.8641, allocations: 292.2 kB / 0.9747 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.8642, allocations: 12.23 kB / 0.9747 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.8642, allocations: 40.16 kB / 0.9748 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 3.066e-06/0.8642, allocations: 1.469 kB / 0.9748 GB, free: 8.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.002199/0.8664, allocations: 0.9133 MB / 0.9757 GB, free: 8.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.8665, allocations: 81.48 kB / 0.9758 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.867, allocations: 379 kB / 0.9761 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.8671, allocations: 31.08 kB / 0.9761 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.8672, allocations: 291.1 kB / 0.9764 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.8674, allocations: 117.5 kB / 0.9765 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-05/0.8675, allocations: 50.16 kB / 0.9766 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8676, allocations: 352.5 kB / 0.9769 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.8682, allocations: 273.2 kB / 0.9772 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00074/0.869, allocations: 498.7 kB / 0.9777 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.8703, allocations: 0.7775 MB / 0.9784 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.8703, allocations: 5 kB / 0.9784 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001722/0.872, allocations: 0.8118 MB / 0.9792 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.8723, allocations: 305.2 kB / 0.9795 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.8723, allocations: 6.469 kB / 0.9795 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.8723, allocations: 11.47 kB / 0.9795 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/0.8731, allocations: 174.4 kB / 0.9797 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.8731, allocations: 26.61 kB / 0.9797 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006457/0.8738, allocations: 75.64 kB / 0.9798 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.8739, allocations: 30.02 kB / 0.9798 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.8739, allocations: 10.12 kB / 0.9798 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001347/0.8752, allocations: 0.6309 MB / 0.9804 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.8753, allocations: 6.812 kB / 0.9804 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.8753, allocations: 9.531 kB / 0.9805 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.8759, allocations: 156 kB / 0.9806 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.527e-05/0.8759, allocations: 17.39 kB / 0.9806 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.8764, allocations: 63.45 kB / 0.9807 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.8765, allocations: 25.94 kB / 0.9807 GB, free: 4.723 MB / 0.7325 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.0003813/0.8768, allocations: 287.6 kB / 0.981 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.877, allocations: 46.75 kB / 0.981 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.8782, allocations: 0.5977 MB / 0.9816 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.8782, allocations: 4 kB / 0.9816 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8782, allocations: 0 / 0.9816 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.8783, allocations: 3.984 kB / 0.9816 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.8809, allocations: 1.637 MB / 0.9832 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.8809, allocations: 4 kB / 0.9832 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005467/0.8814, allocations: 115.8 kB / 0.9833 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.8815, allocations: 8 kB / 0.9833 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.8815, allocations: 8 kB / 0.9833 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.8815, allocations: 4 kB / 0.9833 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8815, allocations: 4 kB / 0.9834 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.8826, allocations: 0.8215 MB / 0.9842 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.8829, allocations: 172.5 kB / 0.9843 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.8829, allocations: 12 kB / 0.9843 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.8834, allocations: 55.92 kB / 0.9844 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.8835, allocations: 27.91 kB / 0.9844 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.8835, allocations: 24 kB / 0.9844 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003467/0.8839, allocations: 275.1 kB / 0.9847 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8839, allocations: 0 / 0.9847 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009169/0.8848, allocations: 192 kB / 0.9849 GB, free: 320 kB / 0.7325 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.000154/0.885, allocations: 111.2 kB / 0.985 GB, free: 200 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001949/0.8869, allocations: 0.9589 MB / 0.9859 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.887, allocations: 0.6875 kB / 0.9859 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.8875, allocations: 279.6 kB / 0.9862 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.8885, allocations: 117.2 kB / 0.9863 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.8904, allocations: 1.273 MB / 0.9875 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.8909, allocations: 0.8787 MB / 0.9884 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.8911, allocations: 43.42 kB / 0.9884 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/0.8911, allocations: 0 / 0.9884 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of Templates: time 0.01022/0.9013, allocations: 6.547 MB / 0.9948 GB, free: 6.02 MB / 0.7481 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)