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.001477/0.001477, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001852/0.001852, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.51/1.51, allocations: 222.9 MB / 241 MB, free: 15.07 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.376/2.376, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 63.89 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.891, allocations: 140.4 MB / 1.089 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005556/0.8966, allocations: 4.213 MB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004923/0.9015, allocations: 2.799 MB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004343/0.902, allocations: 10.47 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.9033, allocations: 372.2 kB / 1.096 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.9046, allocations: 409.9 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.9063, allocations: 0.5152 MB / 1.097 GB, free: 44 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.9076, allocations: 0.6949 MB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.9084, allocations: 343.6 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005303/0.9089, allocations: 272.2 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007934/0.9097, allocations: 342.6 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.9098, allocations: 37.66 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.9109, allocations: 337.1 kB / 1.099 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.9113, allocations: 198.6 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000366/0.9117, allocations: 248.4 kB / 1.099 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.9132, allocations: 0.7432 MB / 1.1 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.9132, allocations: 5 kB / 1.1 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.096e-06/0.9132, allocations: 4 kB / 1.1 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.9132, allocations: 0 / 1.1 GB, free: 14.75 MB / 0.8731 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.001938/0.9152, allocations: 0.8084 MB / 1.101 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.9152, allocations: 9.703 kB / 1.101 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.9169, allocations: 192.4 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.9175, allocations: 377.5 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.9175, allocations: 29.95 kB / 1.101 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.9177, allocations: 43.42 kB / 1.101 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.9193, allocations: 0.8499 MB / 1.102 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.9194, allocations: 2.656 kB / 1.102 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/0.9194, allocations: 22.45 kB / 1.102 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.9196, allocations: 64.47 kB / 1.102 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001635/0.9212, allocations: 0.6654 MB / 1.103 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005086/0.9263, allocations: 4.659 MB / 1.107 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.9276, allocations: 0.4985 MB / 1.108 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/0.9282, allocations: 284.1 kB / 1.108 GB, free: 8.637 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.9282, allocations: 11.95 kB / 1.108 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.9283, allocations: 41.78 kB / 1.108 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 2.886e-06/0.9283, allocations: 0 / 1.108 GB, free: 8.582 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.002115/0.9304, allocations: 0.8801 MB / 1.109 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.9305, allocations: 82.05 kB / 1.109 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.931, allocations: 380.7 kB / 1.109 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.931, allocations: 30.8 kB / 1.109 GB, free: 7.914 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.9312, allocations: 283 kB / 1.11 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.9314, allocations: 126.3 kB / 1.11 GB, free: 7.582 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.9316, allocations: 114.4 kB / 1.11 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.9318, allocations: 356.2 kB / 1.11 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.9324, allocations: 271.6 kB / 1.111 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007413/0.9331, allocations: 479.4 kB / 1.111 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.9345, allocations: 0.77 MB / 1.112 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.9345, allocations: 2.469 kB / 1.112 GB, free: 6.246 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001621/0.9361, allocations: 0.7887 MB / 1.113 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.9362, allocations: 7.656 kB / 1.113 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.9362, allocations: 8.641 kB / 1.113 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.9362, allocations: 10.59 kB / 1.113 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.937, allocations: 162.5 kB / 1.113 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.937, allocations: 17.31 kB / 1.113 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/0.9376, allocations: 82.61 kB / 1.113 GB, free: 5.902 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.9377, allocations: 29.72 kB / 1.113 GB, free: 5.898 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000761/0.9385, allocations: 361.1 kB / 1.113 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007738/0.9393, allocations: 451.4 kB / 1.114 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001238/0.9405, allocations: 0.683 MB / 1.114 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.9405, allocations: 2.688 kB / 1.114 GB, free: 4.863 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.00143/0.942, allocations: 0.6807 MB / 1.115 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.942, allocations: 9.312 kB / 1.115 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.942, allocations: 8.688 kB / 1.115 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.942, allocations: 11.41 kB / 1.115 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.9427, allocations: 151.9 kB / 1.115 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.9427, allocations: 16.89 kB / 1.115 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.9432, allocations: 70.64 kB / 1.115 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.9433, allocations: 28.38 kB / 1.115 GB, free: 4.559 MB / 0.8731 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.0002405/0.9435, allocations: 218.9 kB / 1.115 GB, free: 4.348 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.9437, allocations: 39.31 kB / 1.116 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.9449, allocations: 0.5748 MB / 1.116 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.9449, allocations: 7.969 kB / 1.116 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.9449, allocations: 1.797 kB / 1.116 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.945, allocations: 3.141 kB / 1.116 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.9478, allocations: 1.617 MB / 1.118 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.9478, allocations: 4.25 kB / 1.118 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.9484, allocations: 114.3 kB / 1.118 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.9484, allocations: 5.188 kB / 1.118 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.9484, allocations: 11 kB / 1.118 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.9485, allocations: 9.75 kB / 1.118 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.9485, allocations: 9.312 kB / 1.118 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.9497, allocations: 0.7837 MB / 1.119 GB, free: 2.742 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.9499, allocations: 161 kB / 1.119 GB, free: 2.613 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/0.95, allocations: 16.48 kB / 1.119 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/0.9505, allocations: 51.03 kB / 1.119 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.9507, allocations: 39.36 kB / 1.119 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.9507, allocations: 11.19 kB / 1.119 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004061/0.9511, allocations: 273.2 kB / 1.119 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9511, allocations: 3.938 kB / 1.119 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001052/0.9522, allocations: 195.9 kB / 1.119 GB, free: 2.422 MB / 0.8731 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.0001618/0.9523, allocations: 108.6 kB / 1.119 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.9544, allocations: 0.9334 MB / 1.12 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.9544, allocations: 1.375 kB / 1.12 GB, free: 2.043 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005732/0.955, allocations: 272.1 kB / 1.121 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/0.9559, allocations: 130.5 kB / 1.121 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.958, allocations: 1.055 MB / 1.122 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.9586, allocations: 0.8674 MB / 1.123 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.9589, allocations: 45.19 kB / 1.123 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/0.9589, allocations: 1 kB / 1.123 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of Templates: time 0.01611/0.975, allocations: 6.667 MB / 1.129 GB, free: 8 kB / 0.8731 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)