Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001292/0.001292, allocations: 106.4 kB / 15.99 MB, free: 5.887 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.001212/0.001212, allocations: 193.7 kB / 16.91 MB, free: 5.746 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.723/2.723, allocations: 469.8 MB / 0.7427 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 68.39 kB / 0.9087 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2855, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005929/0.2915, allocations: 4.241 MB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004543/0.2961, allocations: 2.789 MB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.2964, allocations: 7.938 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.2975, allocations: 344.2 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009092/0.2984, allocations: 382.5 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.2996, allocations: 481 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.3004, allocations: 0.6931 MB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000607/0.301, allocations: 395 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.3014, allocations: 263.1 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.3019, allocations: 354.7 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.302, allocations: 40 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005534/0.3025, allocations: 339.3 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.3027, allocations: 199.5 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.303, allocations: 250.7 kB / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006432/0.3036, allocations: 0.5692 MB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3036, allocations: 0 / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3036, allocations: 3.938 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3037, allocations: 0 / 1.075 GB, free: 3.234 MB / 0.8262 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.00142/0.3051, allocations: 0.8044 MB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3051, allocations: 12.03 kB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.3064, allocations: 192 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.3069, allocations: 359.1 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.3069, allocations: 33.3 kB / 1.077 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.307, allocations: 48.3 kB / 1.077 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.3084, allocations: 0.841 MB / 1.077 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.3084, allocations: 4 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.3085, allocations: 19.94 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.292e-05/0.3086, allocations: 64.61 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.3099, allocations: 0.6736 MB / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/0.3145, allocations: 4.662 MB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.3156, allocations: 0.5049 MB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.3162, allocations: 277.5 kB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.3162, allocations: 4 kB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.3162, allocations: 42.55 kB / 1.083 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.3162, allocations: 0 / 1.083 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.001961/0.3182, allocations: 0.8811 MB / 1.084 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.3183, allocations: 93.27 kB / 1.084 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.3187, allocations: 369.4 kB / 1.085 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.3188, allocations: 33.7 kB / 1.085 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.319, allocations: 287 kB / 1.085 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.3191, allocations: 118.3 kB / 1.085 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.3193, allocations: 118 kB / 1.085 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3195, allocations: 358.7 kB / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005691/0.3201, allocations: 274.8 kB / 1.086 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007353/0.3208, allocations: 482.6 kB / 1.086 GB, free: 7.004 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.3221, allocations: 0.769 MB / 1.087 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.351e-06/0.3221, allocations: 4 kB / 1.087 GB, free: 6.133 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001547/0.3237, allocations: 0.7782 MB / 1.088 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.3237, allocations: 10.03 kB / 1.088 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3237, allocations: 8 kB / 1.088 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.3238, allocations: 12 kB / 1.088 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/0.3245, allocations: 167.7 kB / 1.088 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/0.3246, allocations: 11.94 kB / 1.088 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.3252, allocations: 79.89 kB / 1.088 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.3252, allocations: 27.98 kB / 1.088 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006642/0.3259, allocations: 361 kB / 1.089 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000661/0.3266, allocations: 453.4 kB / 1.089 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001118/0.3277, allocations: 0.6814 MB / 1.09 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.16e-06/0.3277, allocations: 8 kB / 1.09 GB, free: 3.328 MB / 0.8419 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001371/0.3291, allocations: 0.6791 MB / 1.09 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3291, allocations: 8 kB / 1.09 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.3291, allocations: 15.98 kB / 1.09 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3291, allocations: 12 kB / 1.09 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005984/0.3298, allocations: 159.7 kB / 1.091 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.3298, allocations: 19.88 kB / 1.091 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.3303, allocations: 67.88 kB / 1.091 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.3303, allocations: 28 kB / 1.091 GB, free: 2.34 MB / 0.8419 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.000222/0.3306, allocations: 216 kB / 1.091 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.932e-05/0.3307, allocations: 39.53 kB / 1.091 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.3319, allocations: 0.5717 MB / 1.091 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.3319, allocations: 4 kB / 1.091 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3319, allocations: 3.938 kB / 1.091 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3319, allocations: 3.984 kB / 1.091 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.3346, allocations: 1.613 MB / 1.093 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.3346, allocations: 7.938 kB / 1.093 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.3352, allocations: 111.9 kB / 1.093 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.3352, allocations: 11.98 kB / 1.093 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.3352, allocations: 8.469 kB / 1.093 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.3352, allocations: 15.94 kB / 1.093 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.3352, allocations: 7.938 kB / 1.093 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.3364, allocations: 0.7837 MB / 1.094 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.3366, allocations: 164.5 kB / 1.094 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.3367, allocations: 11.91 kB / 1.094 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/0.3371, allocations: 51.92 kB / 1.094 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.3372, allocations: 39.84 kB / 1.094 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.3373, allocations: 12 kB / 1.094 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003698/0.3376, allocations: 271.1 kB / 1.094 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3376, allocations: 0 / 1.094 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008708/0.3385, allocations: 192 kB / 1.095 GB, free: 14.03 MB / 0.8575 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.0001513/0.3387, allocations: 116.2 kB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001922/0.3406, allocations: 0.9691 MB / 1.096 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3406, allocations: 0 / 1.096 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.3411, allocations: 268.8 kB / 1.096 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007954/0.3419, allocations: 132 kB / 1.096 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.3438, allocations: 1.25 MB / 1.097 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.3443, allocations: 0.867 MB / 1.098 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.3445, allocations: 47.42 kB / 1.098 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.3445, allocations: 0 / 1.098 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of Templates: time 0.0102/0.3547, allocations: 6.604 MB / 1.105 GB, free: 3.703 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)