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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.278/2.278, allocations: 387.1 MB / 399.7 MB, free: 9.441 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009991/0.0009991, allocations: 184.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.636/1.636, allocations: 221.3 MB / 0.7872 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008607/0.0008608, allocations: 85.97 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/2.988e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.276, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9571/1.233, allocations: 176.8 MB / 1.385 GB, free: 18.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/1.234, allocations: 98.14 kB / 1.385 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06699/1.301, allocations: 30.93 MB / 1.415 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.555e-06/1.301, allocations: 0 / 1.415 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.176e-05/1.301, allocations: 11.94 kB / 1.415 GB, free: 12.62 MB / 0.8386 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.001452/1.302, allocations: 0.7243 MB / 1.416 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.302, allocations: 11.97 kB / 1.416 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/1.303, allocations: 179.1 kB / 1.416 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006024/1.304, allocations: 367.4 kB / 1.417 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/1.304, allocations: 34.3 kB / 1.417 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.432e-05/1.304, allocations: 46.78 kB / 1.417 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/1.305, allocations: 0.7646 MB / 1.417 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.305, allocations: 7.938 kB / 1.417 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/1.305, allocations: 22.67 kB / 1.417 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-05/1.305, allocations: 55.36 kB / 1.417 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/1.306, allocations: 0.5731 MB / 1.418 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004103/1.31, allocations: 4.61 MB / 1.423 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/1.311, allocations: 471.3 kB / 1.423 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/1.312, allocations: 244.5 kB / 1.423 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/1.312, allocations: 4.531 kB / 1.423 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.312, allocations: 42.44 kB / 1.423 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/1.312, allocations: 0 / 1.423 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001136/1.313, allocations: 0.6063 MB / 1.424 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/1.313, allocations: 85.2 kB / 1.424 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/1.313, allocations: 315.4 kB / 1.424 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/1.313, allocations: 33.02 kB / 1.424 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/1.313, allocations: 288.9 kB / 1.425 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.742e-05/1.314, allocations: 121.7 kB / 1.425 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/1.314, allocations: 11.62 kB / 1.425 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.314, allocations: 353.8 kB / 1.425 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/1.314, allocations: 217.4 kB / 1.425 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/1.315, allocations: 441.9 kB / 1.426 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/1.315, allocations: 290.8 kB / 1.426 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/1.315, allocations: 3.938 kB / 1.426 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001078/1.316, allocations: 0.703 MB / 1.427 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001295/1.317, allocations: 2.794 MB / 1.429 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.317, allocations: 8 kB / 1.429 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.317, allocations: 12 kB / 1.429 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/1.318, allocations: 159.1 kB / 1.43 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.129e-05/1.318, allocations: 15.92 kB / 1.43 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004874/1.319, allocations: 73.16 kB / 1.43 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/1.319, allocations: 33.55 kB / 1.43 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/1.319, allocations: 4 kB / 1.43 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007819/1.32, allocations: 0.5334 MB / 1.43 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/1.32, allocations: 11.98 kB / 1.43 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.32, allocations: 12.06 kB / 1.43 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/1.32, allocations: 147.5 kB / 1.43 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/1.32, allocations: 15.92 kB / 1.43 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/1.321, allocations: 61.78 kB / 1.43 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/1.321, allocations: 27.17 kB / 1.43 GB, free: 14.09 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001489/1.321, allocations: 145.9 kB / 1.431 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/1.321, allocations: 39.53 kB / 1.431 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000914/1.322, allocations: 0.5219 MB / 1.431 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.322, allocations: 4 kB / 1.431 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.322, allocations: 7.984 kB / 1.431 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.322, allocations: 0 / 1.431 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/1.324, allocations: 1.548 MB / 1.433 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/1.324, allocations: 7.984 kB / 1.433 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005544/1.325, allocations: 119 kB / 1.433 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/1.325, allocations: 11.95 kB / 1.433 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/1.325, allocations: 11.5 kB / 1.433 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/1.325, allocations: 7.938 kB / 1.433 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/1.325, allocations: 8.312 kB / 1.433 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009548/1.326, allocations: 0.9125 MB / 1.434 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/1.326, allocations: 171.9 kB / 1.434 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/1.326, allocations: 7.25 kB / 1.434 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/1.326, allocations: 50.98 kB / 1.434 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/1.327, allocations: 42.42 kB / 1.434 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/1.327, allocations: 11.5 kB / 1.434 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002564/1.327, allocations: 253 kB / 1.434 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.327, allocations: 0 / 1.434 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008671/1.328, allocations: 206.6 kB / 1.434 GB, free: 10.44 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002239/1.328, allocations: 124.2 kB / 1.435 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001199/1.329, allocations: 0.8268 MB / 1.435 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.329, allocations: 0 / 1.435 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/1.33, allocations: 243.6 kB / 1.436 GB, free: 9.531 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006302/1.33, allocations: 101.3 kB / 1.436 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/1.332, allocations: 0.7847 MB / 1.436 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/1.332, allocations: 0.8864 MB / 1.437 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006393/1.333, allocations: 208 kB / 1.437 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/1.333, allocations: 38.98 kB / 1.438 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/1.333, allocations: 0 / 1.438 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of Templates: time 0.01019/1.343, allocations: 5.994 MB / 1.443 GB, free: 1.613 MB / 0.8542 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)