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.001482/0.001482, allocations: 108.3 kB / 15.99 MB, free: 6.371 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.00169/0.00169, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.39/1.39, allocations: 222.9 MB / 240.6 MB, free: 15.46 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.2/2.2, allocations: 390.3 MB / 0.665 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 65.23 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2731, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005996/0.2791, allocations: 4.244 MB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004536/0.2837, allocations: 2.786 MB / 0.9566 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003956/0.2841, allocations: 7.938 kB / 0.9567 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.2854, allocations: 338.8 kB / 0.957 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.2865, allocations: 382.5 kB / 0.9573 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.2877, allocations: 482.7 kB / 0.9578 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000959/0.2886, allocations: 0.7045 MB / 0.9585 GB, free: 312 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007594/0.2894, allocations: 387.1 kB / 0.9589 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000456/0.2899, allocations: 270.9 kB / 0.9591 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000641/0.2905, allocations: 358.8 kB / 0.9595 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.747e-05/0.2906, allocations: 40 kB / 0.9595 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005818/0.2912, allocations: 339.2 kB / 0.9598 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.2915, allocations: 195.5 kB / 0.96 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.2918, allocations: 258.7 kB / 0.9603 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000714/0.2926, allocations: 0.5537 MB / 0.9608 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2926, allocations: 4 kB / 0.9608 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2926, allocations: 0 / 0.9608 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.385e-05/0.2926, allocations: 0 / 0.9608 GB, free: 13.93 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.001581/0.2942, allocations: 0.8107 MB / 0.9616 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2942, allocations: 12.03 kB / 0.9616 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.2955, allocations: 196 kB / 0.9618 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.2959, allocations: 363 kB / 0.9621 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.296, allocations: 33.36 kB / 0.9622 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.16e-05/0.2961, allocations: 40.38 kB / 0.9622 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.2973, allocations: 0.841 MB / 0.963 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.2973, allocations: 7.938 kB / 0.963 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.2974, allocations: 23.98 kB / 0.9631 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.329e-05/0.2975, allocations: 64.61 kB / 0.9631 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.2988, allocations: 0.6658 MB / 0.9638 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004423/0.3032, allocations: 4.662 MB / 0.9683 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3043, allocations: 0.501 MB / 0.9688 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.3048, allocations: 281.5 kB / 0.9691 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.3049, allocations: 11.98 kB / 0.9691 GB, free: 4.875 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3049, allocations: 38.5 kB / 0.9691 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.3049, allocations: 0 / 0.9691 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.001835/0.3068, allocations: 0.8825 MB / 0.97 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.3068, allocations: 81.11 kB / 0.9701 GB, free: 3.84 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.3072, allocations: 373.5 kB / 0.9704 GB, free: 3.469 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.3073, allocations: 29.7 kB / 0.9705 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.3075, allocations: 295 kB / 0.9707 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.3076, allocations: 122.3 kB / 0.9709 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.3078, allocations: 110.1 kB / 0.971 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3079, allocations: 354.7 kB / 0.9713 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.3084, allocations: 266.9 kB / 0.9716 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/0.3091, allocations: 490.5 kB / 0.972 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.3102, allocations: 0.7527 MB / 0.9728 GB, free: 0.8555 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3103, allocations: 4 kB / 0.9728 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001396/0.3117, allocations: 0.7939 MB / 0.9735 GB, free: 52 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.3117, allocations: 8.875 kB / 0.9735 GB, free: 44 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.3117, allocations: 8 kB / 0.9735 GB, free: 36 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3117, allocations: 12 kB / 0.9736 GB, free: 24 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/0.3125, allocations: 171.7 kB / 0.9737 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.3125, allocations: 11.94 kB / 0.9737 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.3131, allocations: 75.77 kB / 0.9738 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.3132, allocations: 27.98 kB / 0.9738 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005971/0.3138, allocations: 365 kB / 0.9742 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005729/0.3143, allocations: 457.4 kB / 0.9746 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001019/0.3154, allocations: 0.6809 MB / 0.9753 GB, free: 14.03 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.733e-06/0.3154, allocations: 7.938 kB / 0.9753 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001294/0.3167, allocations: 0.6868 MB / 0.976 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3167, allocations: 8.938 kB / 0.976 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3167, allocations: 8 kB / 0.976 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3167, allocations: 12 kB / 0.976 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/0.3173, allocations: 155.7 kB / 0.9761 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.3174, allocations: 15.98 kB / 0.9762 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.3179, allocations: 55.8 kB / 0.9762 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.3179, allocations: 31.98 kB / 0.9762 GB, free: 13.05 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.0001872/0.3181, allocations: 224.2 kB / 0.9765 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.3182, allocations: 43.44 kB / 0.9765 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3193, allocations: 0.5795 MB / 0.9771 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.3194, allocations: 8 kB / 0.9771 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3194, allocations: 0 / 0.9771 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3194, allocations: 3.984 kB / 0.9771 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002522/0.3219, allocations: 1.602 MB / 0.9786 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.3219, allocations: 7.984 kB / 0.9786 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005424/0.3225, allocations: 111.8 kB / 0.9787 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/0.3225, allocations: 8 kB / 0.9788 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.3225, allocations: 12 kB / 0.9788 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.3226, allocations: 8 kB / 0.9788 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3226, allocations: 4 kB / 0.9788 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3236, allocations: 0.7885 MB / 0.9795 GB, free: 9.48 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.3238, allocations: 168.5 kB / 0.9797 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.3239, allocations: 11.98 kB / 0.9797 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.3243, allocations: 47.94 kB / 0.9798 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.3244, allocations: 31.89 kB / 0.9798 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.3245, allocations: 19.94 kB / 0.9798 GB, free: 9.188 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003382/0.3248, allocations: 271.1 kB / 0.9801 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3248, allocations: 0 / 0.9801 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008883/0.3257, allocations: 192 kB / 0.9803 GB, free: 8.734 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.0001475/0.3259, allocations: 119.1 kB / 0.9804 GB, free: 8.609 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.3277, allocations: 0.9593 MB / 0.9813 GB, free: 7.652 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.3277, allocations: 4.312 kB / 0.9813 GB, free: 7.648 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.3282, allocations: 263.6 kB / 0.9816 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000809/0.329, allocations: 133.8 kB / 0.9817 GB, free: 7.27 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.3308, allocations: 1.254 MB / 0.9829 GB, free: 5.934 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004151/0.3312, allocations: 0.8708 MB / 0.9838 GB, free: 5.035 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.3314, allocations: 47.42 kB / 0.9838 GB, free: 4.988 MB / 0.7637 GB Notification: Performance of SimCode: time 3.61e-07/0.3314, allocations: 4 kB / 0.9838 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of Templates: time 0.0102/0.3416, allocations: 6.615 MB / 0.9903 GB, free: 14.39 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)