Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009065/0.0009065, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000609/0.0006095, allocations: 15.69 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.258, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003414/0.2615, allocations: 2.828 MB / 0.79 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002518/0.264, allocations: 1.743 MB / 0.7917 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.2642, allocations: 8 kB / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.2643, allocations: 39.64 kB / 0.7918 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000431/0.2648, allocations: 167.2 kB / 0.792 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.2653, allocations: 219.5 kB / 0.7922 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004448/0.2658, allocations: 478.5 kB / 0.7926 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006835/0.2664, allocations: 433.2 kB / 0.793 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.2666, allocations: 135.5 kB / 0.7932 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.267, allocations: 187.4 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.267, allocations: 12 kB / 0.7934 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.2673, allocations: 135.8 kB / 0.7935 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.2674, allocations: 107.7 kB / 0.7936 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.954e-05/0.2675, allocations: 77.52 kB / 0.7937 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.2678, allocations: 347.4 kB / 0.794 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2678, allocations: 0 / 0.794 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2678, allocations: 0 / 0.794 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2678, allocations: 0 / 0.794 GB, free: 5.023 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009495/0.2688, allocations: 0.5418 MB / 0.7945 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2688, allocations: 8.031 kB / 0.7945 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006883/0.2695, allocations: 103.5 kB / 0.7946 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.2699, allocations: 275.2 kB / 0.7949 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.2699, allocations: 20.5 kB / 0.7949 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.27, allocations: 31.98 kB / 0.7949 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006314/0.2707, allocations: 441.1 kB / 0.7954 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.2707, allocations: 0 / 0.7954 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.2708, allocations: 12 kB / 0.7954 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.2709, allocations: 44.47 kB / 0.7954 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005676/0.2715, allocations: 353.9 kB / 0.7957 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.2738, allocations: 2.199 MB / 0.7979 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.2742, allocations: 263 kB / 0.7981 GB, free: 436 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.2744, allocations: 161.1 kB / 0.7983 GB, free: 272 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.2745, allocations: 8.188 kB / 0.7983 GB, free: 264 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2745, allocations: 34.75 kB / 0.7983 GB, free: 220 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.2745, allocations: 0 / 0.7983 GB, free: 220 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001756/0.2763, allocations: 1.058 MB / 0.7994 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.2763, allocations: 55.41 kB / 0.7994 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.2766, allocations: 248.9 kB / 0.7997 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.2766, allocations: 29.7 kB / 0.7997 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.2767, allocations: 191.8 kB / 0.7999 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.2768, allocations: 82.75 kB / 0.8 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.2769, allocations: 8 kB / 0.8 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.277, allocations: 334.8 kB / 0.8003 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.2772, allocations: 155.9 kB / 0.8004 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.2775, allocations: 233.6 kB / 0.8007 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002725/0.2778, allocations: 181.3 kB / 0.8008 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2778, allocations: 4 kB / 0.8008 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001009/0.2788, allocations: 0.5894 MB / 0.8014 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2788, allocations: 7.938 kB / 0.8014 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2789, allocations: 4 kB / 0.8014 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.2795, allocations: 180.9 kB / 0.8016 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.2797, allocations: 67.89 kB / 0.8017 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.2824, allocations: 2.292 MB / 0.8039 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.2827, allocations: 15.98 kB / 0.8039 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.2827, allocations: 16 kB / 0.8039 GB, free: 10.21 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002032/0.2829, allocations: 161.8 kB / 0.8041 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.283, allocations: 27.67 kB / 0.8041 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005554/0.2836, allocations: 354 kB / 0.8044 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2836, allocations: 8 kB / 0.8044 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2836, allocations: 4 kB / 0.8045 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2836, allocations: 3.984 kB / 0.8045 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.2846, allocations: 0.816 MB / 0.8053 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.2846, allocations: 0 / 0.8053 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.285, allocations: 75.89 kB / 0.8053 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.285, allocations: 3.984 kB / 0.8053 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.285, allocations: 8.062 kB / 0.8053 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.285, allocations: 0 / 0.8053 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.285, allocations: 0 / 0.8053 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000723/0.2857, allocations: 0.6064 MB / 0.8059 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.2859, allocations: 132.8 kB / 0.8061 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.2859, allocations: 8 kB / 0.8061 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.2861, allocations: 19.92 kB / 0.8061 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.2862, allocations: 11.98 kB / 0.8061 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.2862, allocations: 8 kB / 0.8061 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00016/0.2863, allocations: 180.5 kB / 0.8063 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2863, allocations: 0 / 0.8063 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003941/0.2867, allocations: 92 kB / 0.8064 GB, free: 7.602 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.000177/0.2869, allocations: 113.8 kB / 0.8065 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00083/0.2878, allocations: 0.5339 MB / 0.807 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2878, allocations: 0 / 0.807 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.288, allocations: 151.8 kB / 0.8071 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.2884, allocations: 63.91 kB / 0.8072 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.2899, allocations: 0.9989 MB / 0.8082 GB, free: 5.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.2903, allocations: 0.7912 MB / 0.8089 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.2905, allocations: 70.92 kB / 0.809 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.2906, allocations: 23.44 kB / 0.809 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2906, allocations: 4 kB / 0.809 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of Templates: time 0.007189/0.2978, allocations: 3.661 MB / 0.8126 GB, free: 1.141 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) Environment - environmentSimulation: