Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.718/1.718, allocations: 288.4 MB / 303.4 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 180.4 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.4 MB / 0.6307 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009423/0.0009419, allocations: 90.97 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004364, allocations: 11.09 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2931, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003115/0.2962, allocations: 2.653 MB / 0.9822 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.2986, allocations: 1.814 MB / 0.9839 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.2988, allocations: 4 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.299, allocations: 35.72 kB / 0.984 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.2994, allocations: 143.3 kB / 0.9841 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.2999, allocations: 168.8 kB / 0.9843 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.3002, allocations: 362.8 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005197/0.3007, allocations: 318.2 kB / 0.9849 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3009, allocations: 107.5 kB / 0.985 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.3011, allocations: 131.5 kB / 0.9852 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.3012, allocations: 8 kB / 0.9852 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.3016, allocations: 263.6 kB / 0.9854 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.3016, allocations: 71.78 kB / 0.9855 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.3017, allocations: 69.58 kB / 0.9856 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.302, allocations: 359.1 kB / 0.9859 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3021, allocations: 4 kB / 0.9859 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3021, allocations: 0 / 0.9859 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3021, allocations: 3.938 kB / 0.9859 GB, free: 21.16 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007264/0.3028, allocations: 0.5183 MB / 0.9864 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.3029, allocations: 12.02 kB / 0.9864 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007237/0.3036, allocations: 115.5 kB / 0.9865 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.3039, allocations: 254.6 kB / 0.9868 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3039, allocations: 16.44 kB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.3039, allocations: 16 kB / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.3044, allocations: 357.1 kB / 0.9871 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3045, allocations: 4 kB / 0.9871 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.3045, allocations: 7.984 kB / 0.9872 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.3045, allocations: 28.42 kB / 0.9872 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.305, allocations: 293.5 kB / 0.9875 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.3067, allocations: 1.745 MB / 0.9892 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.3071, allocations: 322.1 kB / 0.9895 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.3072, allocations: 105.7 kB / 0.9896 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-05/0.3073, allocations: 85.09 kB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3074, allocations: 38.56 kB / 0.9897 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.3074, allocations: 0 / 0.9897 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.002257/0.3096, allocations: 0.9734 MB / 0.9906 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.3097, allocations: 81.3 kB / 0.9907 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.3098, allocations: 212.5 kB / 0.9909 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.3099, allocations: 29.7 kB / 0.991 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.31, allocations: 172.1 kB / 0.9911 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.31, allocations: 82.83 kB / 0.9912 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.3101, allocations: 8 kB / 0.9912 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.3101, allocations: 334.7 kB / 0.9915 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.3103, allocations: 131.9 kB / 0.9916 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.3105, allocations: 213.2 kB / 0.9918 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.3107, allocations: 161.5 kB / 0.992 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3107, allocations: 0 / 0.992 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006785/0.3114, allocations: 0.505 MB / 0.9925 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3114, allocations: 8 kB / 0.9925 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3114, allocations: 0 / 0.9925 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004715/0.3119, allocations: 155.3 kB / 0.9927 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.3121, allocations: 60 kB / 0.9927 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.3143, allocations: 3.961 MB / 0.9966 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3145, allocations: 15.98 kB / 0.9966 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.3146, allocations: 19.98 kB / 0.9966 GB, free: 9.379 MB / 0.6198 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): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.3148, allocations: 157.9 kB / 0.9968 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.3148, allocations: 19.91 kB / 0.9968 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000734/0.3156, allocations: 494.3 kB / 0.9973 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3156, allocations: 0 / 0.9973 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3156, allocations: 4 kB / 0.9973 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3156, allocations: 0 / 0.9973 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.3169, allocations: 0.9998 MB / 0.9982 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3169, allocations: 0 / 0.9982 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.317, allocations: 31.98 kB / 0.9983 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003837/0.3174, allocations: 151.5 kB / 0.9984 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.3175, allocations: 8 kB / 0.9984 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.3194, allocations: 3.942 MB / 1.002 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3194, allocations: 7.922 kB / 1.002 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.32, allocations: 0.6299 MB / 1.003 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.3201, allocations: 120.9 kB / 1.003 GB, free: 2.309 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3201, allocations: 7.953 kB / 1.003 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.3203, allocations: 19.98 kB / 1.003 GB, free: 2.281 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.957e-05/0.3204, allocations: 27.91 kB / 1.003 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3204, allocations: 12 kB / 1.003 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001187/0.3205, allocations: 152.2 kB / 1.003 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3206, allocations: 0 / 1.003 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005037/0.3211, allocations: 92 kB / 1.003 GB, free: 2.004 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001987/0.3213, allocations: 135.2 kB / 1.003 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007563/0.322, allocations: 0.5652 MB / 1.004 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.322, allocations: 0.625 kB / 1.004 GB, free: 1.273 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.3224, allocations: 401.2 kB / 1.004 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.3229, allocations: 55.64 kB / 1.004 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009063/0.3239, allocations: 0.7259 MB / 1.005 GB, free: 28 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.3243, allocations: 0.7872 MB / 1.006 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001871/0.3245, allocations: 62.23 kB / 1.006 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.635e-05/0.3246, allocations: 23.42 kB / 1.006 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.3246, allocations: 0 / 1.006 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.008391/0.333, allocations: 3.863 MB / 1.01 GB, free: 11.29 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)