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.00136/0.00136, allocations: 100.1 kB / 15.88 MB, free: 12 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.001619/0.001619, allocations: 196 kB / 16.79 MB, free: 6.809 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.467/1.467, allocations: 222.9 MB / 240.5 MB, free: 4.598 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.482/2.482, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 59.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.7008, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005103/0.706, allocations: 4.242 MB / 0.9537 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003917/0.7099, allocations: 2.819 MB / 0.9565 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.7102, allocations: 10.28 kB / 0.9565 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.7112, allocations: 347.1 kB / 0.9568 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000775/0.712, allocations: 383.4 kB / 0.9572 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.713, allocations: 473.8 kB / 0.9576 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008856/0.7139, allocations: 0.9907 MB / 0.9586 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005606/0.7145, allocations: 345.6 kB / 0.9589 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.7148, allocations: 233.2 kB / 0.9592 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.7153, allocations: 354.1 kB / 0.9595 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.361e-05/0.7154, allocations: 25.12 kB / 0.9595 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006901/0.7161, allocations: 418.9 kB / 0.9599 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.7163, allocations: 183.3 kB / 0.9601 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.7165, allocations: 239.2 kB / 0.9603 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005782/0.7171, allocations: 0.5583 MB / 0.9609 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.7171, allocations: 1.062 kB / 0.9609 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.61e-07/0.7171, allocations: 0 / 0.9609 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.7172, allocations: 0 / 0.9609 GB, free: 0.9023 MB / 0.7169 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.001355/0.7185, allocations: 0.8202 MB / 0.9617 GB, free: 220 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.7186, allocations: 9.156 kB / 0.9617 GB, free: 220 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/0.7199, allocations: 192.2 kB / 0.9619 GB, free: 124 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.7204, allocations: 356.6 kB / 0.9622 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.7205, allocations: 33.77 kB / 0.9622 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/0.7206, allocations: 51.62 kB / 0.9623 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.7219, allocations: 0.84 MB / 0.9631 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.722, allocations: 6.594 kB / 0.9631 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.197e-05/0.722, allocations: 19.72 kB / 0.9631 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.82e-05/0.7221, allocations: 64.17 kB / 0.9632 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.7235, allocations: 0.664 MB / 0.9638 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004412/0.7279, allocations: 4.668 MB / 0.9684 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.7291, allocations: 0.4958 MB / 0.9689 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.7297, allocations: 291.2 kB / 0.9692 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.7297, allocations: 7.266 kB / 0.9692 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.7298, allocations: 41.59 kB / 0.9692 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.784e-06/0.7298, allocations: 0 / 0.9692 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.002012/0.7318, allocations: 0.8783 MB / 0.9701 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.7319, allocations: 84.3 kB / 0.9702 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004498/0.7323, allocations: 371 kB / 0.9705 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.7324, allocations: 30.89 kB / 0.9705 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.7326, allocations: 292.5 kB / 0.9708 GB, free: 8.711 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.7327, allocations: 121.7 kB / 0.9709 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.7329, allocations: 118.1 kB / 0.971 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.733, allocations: 347.9 kB / 0.9714 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.7336, allocations: 273.7 kB / 0.9716 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000686/0.7343, allocations: 489.5 kB / 0.9721 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.7356, allocations: 0.761 MB / 0.9728 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.7356, allocations: 2.188 kB / 0.9728 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001566/0.7372, allocations: 0.7964 MB / 0.9736 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.7372, allocations: 8.875 kB / 0.9736 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.7372, allocations: 6.812 kB / 0.9736 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.7372, allocations: 18.56 kB / 0.9737 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007324/0.738, allocations: 162.5 kB / 0.9738 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.199e-05/0.738, allocations: 18.92 kB / 0.9738 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.7386, allocations: 70.05 kB / 0.9739 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.7387, allocations: 26.03 kB / 0.9739 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000661/0.7394, allocations: 368.5 kB / 0.9743 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000619/0.74, allocations: 446.3 kB / 0.9747 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001098/0.7411, allocations: 0.6805 MB / 0.9754 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.29e-06/0.7411, allocations: 2.344 kB / 0.9754 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001422/0.7425, allocations: 0.6944 MB / 0.976 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.7426, allocations: 9.438 kB / 0.9761 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.7426, allocations: 11.94 kB / 0.9761 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.7426, allocations: 15.25 kB / 0.9761 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.7432, allocations: 147.6 kB / 0.9762 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.7432, allocations: 15.12 kB / 0.9762 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.7437, allocations: 61.44 kB / 0.9763 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/0.7438, allocations: 30.47 kB / 0.9763 GB, free: 4.902 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.0002013/0.744, allocations: 225.1 kB / 0.9765 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.7441, allocations: 40.03 kB / 0.9766 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.7453, allocations: 0.5748 MB / 0.9771 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.7453, allocations: 7.953 kB / 0.9771 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.7453, allocations: 1.406 kB / 0.9771 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.7454, allocations: 1.125 kB / 0.9771 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.748, allocations: 1.611 MB / 0.9787 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.748, allocations: 4 kB / 0.9787 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.7485, allocations: 115.8 kB / 0.9788 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.7485, allocations: 4 kB / 0.9788 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.7486, allocations: 12 kB / 0.9789 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.7486, allocations: 7.984 kB / 0.9789 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.7486, allocations: 4 kB / 0.9789 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.7497, allocations: 0.7913 MB / 0.9796 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.7499, allocations: 164.5 kB / 0.9798 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.75, allocations: 12 kB / 0.9798 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/0.7504, allocations: 47.92 kB / 0.9799 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.7505, allocations: 31.91 kB / 0.9799 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.7506, allocations: 16 kB / 0.9799 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003533/0.7509, allocations: 279.1 kB / 0.9802 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.751, allocations: 3.938 kB / 0.9802 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009296/0.7519, allocations: 196 kB / 0.9804 GB, free: 1.355 MB / 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.0001424/0.752, allocations: 107.2 kB / 0.9805 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.7538, allocations: 0.9217 MB / 0.9814 GB, free: 332 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.7538, allocations: 8.125 kB / 0.9814 GB, free: 324 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.7543, allocations: 263.6 kB / 0.9816 GB, free: 60 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008301/0.7551, allocations: 121.5 kB / 0.9817 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.7568, allocations: 1.257 MB / 0.983 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.7572, allocations: 0.8748 MB / 0.9838 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.7575, allocations: 43.42 kB / 0.9839 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/0.7575, allocations: 4 kB / 0.9839 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.008837/0.7663, allocations: 6.614 MB / 0.9903 GB, free: 7.07 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)