Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00136/0.001361, allocations: 192.1 kB / 16.13 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 222 MB, free: 4.766 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.803/1.803, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001333/0.001333, allocations: 63.64 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2282, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004725/0.2329, allocations: 2.941 MB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002755/0.2357, allocations: 1.703 MB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/0.236, allocations: 4 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008492/0.2368, allocations: 215.2 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005438/0.2374, allocations: 167.4 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.238, allocations: 215.5 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.2384, allocations: 430.9 kB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000387/0.2388, allocations: 174.4 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.239, allocations: 107.6 kB / 0.7885 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.2393, allocations: 147.5 kB / 0.7886 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.2394, allocations: 12 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.2399, allocations: 315.4 kB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.159e-05/0.24, allocations: 87.66 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.2401, allocations: 103.5 kB / 0.7891 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.2406, allocations: 430.7 kB / 0.7895 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2406, allocations: 0 / 0.7895 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2407, allocations: 0 / 0.7895 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.2407, allocations: 0 / 0.7895 GB, free: 6.988 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009415/0.2416, allocations: 0.5379 MB / 0.79 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2416, allocations: 12.03 kB / 0.79 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007031/0.2424, allocations: 88.55 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.2427, allocations: 255.2 kB / 0.7904 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2427, allocations: 20.73 kB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.2428, allocations: 20.28 kB / 0.7904 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006212/0.2434, allocations: 390.3 kB / 0.7908 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2434, allocations: 0 / 0.7908 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.2435, allocations: 8 kB / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.2435, allocations: 24.31 kB / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000574/0.2441, allocations: 324.6 kB / 0.7911 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.2458, allocations: 1.728 MB / 0.7928 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.2465, allocations: 329.1 kB / 0.7931 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.2468, allocations: 145.6 kB / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.247, allocations: 97.08 kB / 0.7934 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.247, allocations: 34.56 kB / 0.7934 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.684e-06/0.247, allocations: 4 kB / 0.7934 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001377/0.2484, allocations: 0.594 MB / 0.794 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.2485, allocations: 81.3 kB / 0.794 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.2487, allocations: 211.7 kB / 0.7942 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.2487, allocations: 29.7 kB / 0.7943 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.2488, allocations: 159.8 kB / 0.7944 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.2489, allocations: 71 kB / 0.7945 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.559e-05/0.249, allocations: 61.88 kB / 0.7946 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2491, allocations: 326.8 kB / 0.7949 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.2493, allocations: 137.9 kB / 0.795 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.2496, allocations: 207.3 kB / 0.7952 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005502/0.2502, allocations: 372.7 kB / 0.7956 GB, free: 344 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2502, allocations: 0 / 0.7956 GB, free: 344 kB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008499/0.2511, allocations: 430 kB / 0.796 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2511, allocations: 8 kB / 0.796 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2511, allocations: 0 / 0.796 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002514/0.2514, allocations: 52.73 kB / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.2517, allocations: 71.83 kB / 0.7961 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.253, allocations: 1.497 MB / 0.7975 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.2533, allocations: 23.92 kB / 0.7976 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.2533, allocations: 24.05 kB / 0.7976 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003345/0.2537, allocations: 228 kB / 0.7978 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002891/0.254, allocations: 204.1 kB / 0.798 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00053/0.2545, allocations: 361.4 kB / 0.7984 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.2545, allocations: 0 / 0.7984 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007531/0.2553, allocations: 405.7 kB / 0.7987 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2553, allocations: 8 kB / 0.7987 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.2553, allocations: 0 / 0.7987 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001415/0.2554, allocations: 45.2 kB / 0.7988 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.2557, allocations: 71.88 kB / 0.7989 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.2571, allocations: 1.489 MB / 0.8003 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.2574, allocations: 28.08 kB / 0.8003 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.2574, allocations: 15.98 kB / 0.8004 GB, free: 11.03 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.2576, allocations: 200.1 kB / 0.8005 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.2577, allocations: 23.8 kB / 0.8006 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.2584, allocations: 356 kB / 0.8009 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2584, allocations: 7.938 kB / 0.8009 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2584, allocations: 0 / 0.8009 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2584, allocations: 0 / 0.8009 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.2599, allocations: 0.9521 MB / 0.8018 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.26, allocations: 4 kB / 0.8018 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002236/0.2602, allocations: 56.11 kB / 0.8019 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.2603, allocations: 36.83 kB / 0.8019 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.2603, allocations: 8 kB / 0.8019 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.2614, allocations: 1.41 MB / 0.8033 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.2615, allocations: 3.938 kB / 0.8033 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006683/0.2621, allocations: 0.5343 MB / 0.8038 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.2623, allocations: 132.7 kB / 0.804 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.2623, allocations: 4 kB / 0.804 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.2625, allocations: 23.97 kB / 0.804 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.2626, allocations: 19.98 kB / 0.804 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.2627, allocations: 12.08 kB / 0.804 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001522/0.2628, allocations: 163.5 kB / 0.8042 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2628, allocations: 3.938 kB / 0.8042 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006448/0.2635, allocations: 104 kB / 0.8043 GB, free: 6.707 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002256/0.2637, allocations: 122 kB / 0.8044 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.265, allocations: 0.7375 MB / 0.8051 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2651, allocations: 0 / 0.8051 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.2655, allocations: 270.4 kB / 0.8054 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.266, allocations: 31.98 kB / 0.8054 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.267, allocations: 0.6458 MB / 0.806 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.2674, allocations: 0.7717 MB / 0.8068 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002468/0.2677, allocations: 93.86 kB / 0.8069 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.2678, allocations: 27.42 kB / 0.8069 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of SimCode: time 8.21e-07/0.2678, allocations: 0 / 0.8069 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of Templates: time 0.006284/0.2741, allocations: 3.113 MB / 0.81 GB, free: 0.7969 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)